From 10d814562be5f0531536cef6060d0db142fab8a5 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 16 Feb 2011 12:57:11 +0100 Subject: Sync with latest GeditOverlay code And adapt to the new API. --- embed/ephy-embed.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'embed/ephy-embed.c') 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), -- cgit