summaryrefslogtreecommitdiff
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2014-07-11 14:08:16 +0200
committerCarlos Garcia Campos <carlosgc@gnome.org>2014-07-11 14:10:17 +0200
commit2bf254cb1791bf922fc8ff6e833d490135f2c925 (patch)
tree14d2c948604d2e334c2d1c4f19a50ebfadf23360 /embed/ephy-web-view.c
parent4ebf5e3cbe2a33cbd7a4ddab8d27ab16eacaab77 (diff)
downloadepiphany-2bf254cb1791bf922fc8ff6e833d490135f2c925.tar.gz
Allow to build epiphany with WebKit from current git master
Update to the latest API changes
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index de2e36fd2..d3b7f057c 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1990,6 +1990,9 @@ GtkWidget *
ephy_web_view_new (void)
{
return g_object_new (EPHY_TYPE_WEB_VIEW,
+#if WEBKIT_CHECK_VERSION(2, 5, 0)
+ "user-content-manager", ephy_embed_shell_get_user_content_manager (ephy_embed_shell_get_default ()),
+#endif
"group", ephy_embed_prefs_get_web_view_group (),
NULL);
}