aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2011-02-16 19:57:11 +0800
committerXan Lopez <xan@gnome.org>2011-02-16 19:57:11 +0800
commit10d814562be5f0531536cef6060d0db142fab8a5 (patch)
tree4931958399f418a17e40f354c5353af510e44b88 /embed/ephy-embed.c
parent8fee311e68306696b7fb95490f0bc0b1fc9e561c (diff)
downloadgsoc2013-epiphany-10d814562be5f0531536cef6060d0db142fab8a5.tar.gz
gsoc2013-epiphany-10d814562be5f0531536cef6060d0db142fab8a5.tar.zst
gsoc2013-epiphany-10d814562be5f0531536cef6060d0db142fab8a5.zip
Sync with latest GeditOverlay code
And adapt to the new API.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index e0d230eb1..b1752b477 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -872,7 +872,7 @@ ephy_embed_constructed (GObject *object)
/* Skeleton */
web_view = WEBKIT_WEB_VIEW (ephy_web_view_new ());
scrolled_window = GTK_WIDGET (embed->priv->scrolled_window);
- overlay = gedit_overlay_new (GTK_WIDGET (web_view));
+ overlay = gedit_overlay_new (scrolled_window, GTK_WIDGET (web_view));
/* statusbar is hidden by default */
priv->statusbar_label = gtk_label_new (NULL);
@@ -886,8 +886,8 @@ ephy_embed_constructed (GObject *object)
embed->priv->web_view = web_view;
gtk_container_add (GTK_CONTAINER (scrolled_window),
- GTK_WIDGET (overlay));
- gtk_paned_pack1 (GTK_PANED (paned), GTK_WIDGET (scrolled_window),
+ GTK_WIDGET (web_view));
+ gtk_paned_pack1 (GTK_PANED (paned), GTK_WIDGET (overlay),
TRUE, FALSE);
gtk_box_pack_start (GTK_BOX (embed),