From 09f082567a909bc9369f57a2e14b28846057814e Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 13 Mar 2013 15:51:30 +0100 Subject: ephy-embed-single: also initialize nspluginwrapper plugins in WebKit2 Should not be as important as in WebKit1, but no reason to not do it. --- embed/ephy-embed-single.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'embed') diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c index 861b4effe..f473cd94f 100644 --- a/embed/ephy-embed-single.c +++ b/embed/ephy-embed-single.c @@ -186,6 +186,10 @@ ephy_embed_single_initialize (EphyEmbedSingle *single) char *filename; char *cookie_policy; + /* Initialise nspluginwrapper's plugins if available. */ + if (g_file_test (NSPLUGINWRAPPER_SETUP, G_FILE_TEST_EXISTS) != FALSE) + g_spawn_command_line_sync (NSPLUGINWRAPPER_SETUP, NULL, NULL, NULL, NULL); + web_context = webkit_web_context_get_default (); /* Store cookies in moz-compatible SQLite format */ -- cgit v1.2.3