aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-13 22:51:30 +0800
committerXan Lopez <xan@igalia.com>2013-03-13 22:51:30 +0800
commit09f082567a909bc9369f57a2e14b28846057814e (patch)
treee891cfb7c3240789ead2147d6c6c5a2599a29d41
parent20bee459a4fdbffae3688c25abacfec28895e8b3 (diff)
downloadgsoc2013-epiphany-09f082567a909bc9369f57a2e14b28846057814e.tar
gsoc2013-epiphany-09f082567a909bc9369f57a2e14b28846057814e.tar.gz
gsoc2013-epiphany-09f082567a909bc9369f57a2e14b28846057814e.tar.bz2
gsoc2013-epiphany-09f082567a909bc9369f57a2e14b28846057814e.tar.lz
gsoc2013-epiphany-09f082567a909bc9369f57a2e14b28846057814e.tar.xz
gsoc2013-epiphany-09f082567a909bc9369f57a2e14b28846057814e.tar.zst
gsoc2013-epiphany-09f082567a909bc9369f57a2e14b28846057814e.zip
ephy-embed-single: also initialize nspluginwrapper plugins in WebKit2
Should not be as important as in WebKit1, but no reason to not do it.
-rw-r--r--embed/ephy-embed-single.c4
1 files changed, 4 insertions, 0 deletions
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 */