diff options
author | Gustavo Noronha Silva <gns@gnome.org> | 2009-01-14 21:31:17 +0800 |
---|---|---|
committer | Gustavo Noronha Silva <kov@debian.org> | 2009-05-30 00:15:58 +0800 |
commit | 682bbd135a3cde308e5c067892ad43e2dcecb44f (patch) | |
tree | 38c2503a0ce25b3b9f38ad85e1fc2f292cf3471b /embed/webkit | |
parent | 6eb907dcc69c4024bb86227522d6bb394028d670 (diff) | |
download | gsoc2013-epiphany-682bbd135a3cde308e5c067892ad43e2dcecb44f.tar gsoc2013-epiphany-682bbd135a3cde308e5c067892ad43e2dcecb44f.tar.gz gsoc2013-epiphany-682bbd135a3cde308e5c067892ad43e2dcecb44f.tar.bz2 gsoc2013-epiphany-682bbd135a3cde308e5c067892ad43e2dcecb44f.tar.lz gsoc2013-epiphany-682bbd135a3cde308e5c067892ad43e2dcecb44f.tar.xz gsoc2013-epiphany-682bbd135a3cde308e5c067892ad43e2dcecb44f.tar.zst gsoc2013-epiphany-682bbd135a3cde308e5c067892ad43e2dcecb44f.zip |
Adding a new EphyWebView object
This is an object inheriting from WebKitWebView, and will be used to
house most of the functionality we move from EphyEmbed.
Diffstat (limited to 'embed/webkit')
-rw-r--r-- | embed/webkit/webkit-embed.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c index 66da62f32..778106ab2 100644 --- a/embed/webkit/webkit-embed.c +++ b/embed/webkit/webkit-embed.c @@ -41,6 +41,7 @@ #include "ephy-embed-event.h" #include "ephy-embed-utils.h" #include "ephy-prefs.h" +#include "ephy-web-view.h" #include <webkit/webkit.h> #include <errno.h> @@ -352,7 +353,7 @@ webkit_embed_inspect_web_view_cb (WebKitWebInspector *inspector, GtkWidget *inspector_sw = GTK_WIDGET (data); GtkWidget *inspector_web_view; - inspector_web_view = webkit_web_view_new (); + inspector_web_view = ephy_web_view_new (); gtk_container_add (GTK_CONTAINER (inspector_sw), inspector_web_view); gtk_widget_show_all (gtk_widget_get_toplevel (inspector_sw)); @@ -726,7 +727,7 @@ webkit_embed_init (WebKitEmbed *embed) gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); - web_view = WEBKIT_WEB_VIEW (webkit_web_view_new ()); + web_view = WEBKIT_WEB_VIEW (ephy_web_view_new ()); embed->priv->web_view = web_view; gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (web_view)); gtk_widget_show (sw); |