[webkit-dev] disableing webkit plugins on gtk+ port

Luka Napotnik luka.napotnik at gmail.com
Thu Jan 8 01:52:17 PST 2009


I'm trying to disable plugins on the gtk+ port of webkit. I've tried to
modify the WebKitWebSettings property "enable-plugins" but my program
segfaults. Here's the code:

WebKitWebSettings *settings;
settings = webkit_web_view_get_settings(web_view);
g_object_set_property(G_OBJECT(settings), "enable-plugins", "FALSE");
webkit_web_view_set_settings(web_view, settings);

Am I doing this right or is there another way?


More information about the webkit-dev mailing list