aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-toolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-toolbar.c')
-rw-r--r--src/ephy-toolbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c
index 61a34fccc..7442bc225 100644
--- a/src/ephy-toolbar.c
+++ b/src/ephy-toolbar.c
@@ -149,7 +149,7 @@ maybe_finish_activation_cb (EphyWindow *window,
while (widget != NULL && widget != wtoolbar)
{
- widget = widget->parent;
+ widget = gtk_widget_get_parent (widget);
}
/* if widget == toolbar, the new focus widget is in the toolbar, so we