From 0eadd147c38a58cd235571d228e393216416cd3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 22 Sep 2009 12:27:30 +0300 Subject: GTK+ 2.17.11 is now the required version I've used all the GTK+ 2.17.11 api available, still missing: GTK_WIDGET_REALIZED (GTK_WIDGET ()) GTK_WIDGET_MAPPED (GTK_WIDGET ()) GTK_ENTRY->im_context GTK_STATUSBAR->frame GTK_STATUSBAR->label GTK_MESSAGE_DIALOG->label https://bugzilla.gnome.org/show_bug.cgi?id=595791 Signed-off-by: Xan Lopez --- src/bookmarks/ephy-bookmark-factory-action.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bookmarks/ephy-bookmark-factory-action.c') diff --git a/src/bookmarks/ephy-bookmark-factory-action.c b/src/bookmarks/ephy-bookmark-factory-action.c index 51c165f57..4a17cf5df 100644 --- a/src/bookmarks/ephy-bookmark-factory-action.c +++ b/src/bookmarks/ephy-bookmark-factory-action.c @@ -57,7 +57,7 @@ activate_item_cb (GtkWidget *menuitem, GtkWidget *placeholder) g_return_if_fail (model); children = gtk_container_get_children (GTK_CONTAINER (etoolbar)); - pos = g_list_index (children, toolbar->parent); + pos = g_list_index (children, gtk_widget_get_parent (toolbar)); index = gtk_toolbar_get_item_index (GTK_TOOLBAR (toolbar), GTK_TOOL_ITEM (item)); g_list_free (children); @@ -186,7 +186,7 @@ remove_placeholder_cb (GtkMenuShell *menushell, g_object_set_data (G_OBJECT (model), EGG_TOOLBARS_MODEL_DATA, NULL); children = gtk_container_get_children (GTK_CONTAINER (etoolbar)); - pos = g_list_index (children, toolbar->parent); + pos = g_list_index (children, gtk_widget_get_parent (toolbar)); index = gtk_toolbar_get_item_index (GTK_TOOLBAR (toolbar), GTK_TOOL_ITEM (item)); g_list_free (children); -- cgit v1.2.3