[Xfce4-commits] <midori:master> Pass the correct parent in the web-view-ready callback
Christian Dywan
noreply at xfce.org
Fri Apr 2 19:12:01 CEST 2010
Updating branch refs/heads/master
to 476f64e9bcfcdfdc04c28663ee25bde898ecb7a6 (commit)
from f2f0f16dd2cfcfe08fc07715dbb7a314b98f9f1e (commit)
commit 476f64e9bcfcdfdc04c28663ee25bde898ecb7a6
Author: Christian Dywan <christian at twotoasts.de>
Date: Fri Apr 2 19:14:22 2010 +0200
Pass the correct parent in the web-view-ready callback
This was overlooked when changing the packing of the view.
midori/midori-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index 6c8fd0d..0837daf 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -2462,7 +2462,7 @@ static gboolean
webkit_web_view_web_view_ready_cb (GtkWidget* web_view,
MidoriView* view)
{
- GtkWidget* new_view = gtk_widget_get_parent (web_view);
+ GtkWidget* new_view = gtk_widget_get_parent (gtk_widget_get_parent (web_view));
MidoriNewView where = MIDORI_NEW_VIEW_TAB;
/* FIXME: Open windows opened by scripts in tabs if they otherwise
More information about the Xfce4-commits
mailing list