diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-26 03:01:01 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-26 03:01:01 +0000 |
commit | 49061dd178c71ab298e31f560d544f829cda3f24 (patch) | |
tree | 18b88e177a8d6c72b714aa797ee1a726b730e68f /gtk/gtktoolitem.c | |
parent | cea413caa18afabdd2009fb979ca2b98f252b504 (diff) | |
download | gtk+-49061dd178c71ab298e31f560d544f829cda3f24.tar.gz |
More action-related fixes
svn path=/trunk/; revision=22218
Diffstat (limited to 'gtk/gtktoolitem.c')
-rw-r--r-- | gtk/gtktoolitem.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index 54b60e792f..6360c444a4 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -127,8 +127,6 @@ static gboolean gtk_tool_item_real_set_tooltip (GtkToolItem *tool_item, const gchar *tip_text, const gchar *tip_private); -static gboolean gtk_tool_item_create_menu_proxy (GtkToolItem *item); - static void gtk_tool_item_activatable_interface_init (GtkActivatableIface *iface); static void gtk_tool_item_activatable_update (GtkActivatable *activatable, GtkAction *action, @@ -169,7 +167,7 @@ gtk_tool_item_class_init (GtkToolItemClass *klass) widget_class->size_allocate = gtk_tool_item_size_allocate; widget_class->parent_set = gtk_tool_item_parent_set; - klass->create_menu_proxy = gtk_tool_item_create_menu_proxy; + klass->create_menu_proxy = _gtk_tool_item_create_menu_proxy; klass->set_tooltip = gtk_tool_item_real_set_tooltip; g_object_class_install_property (object_class, @@ -554,8 +552,8 @@ gtk_tool_item_size_allocate (GtkWidget *widget, } } -static gboolean -gtk_tool_item_create_menu_proxy (GtkToolItem *item) +gboolean +_gtk_tool_item_create_menu_proxy (GtkToolItem *item) { GtkWidget *menu_item; gboolean visible_overflown; @@ -574,6 +572,8 @@ gtk_tool_item_create_menu_proxy (GtkToolItem *item) } else gtk_tool_item_set_proxy_menu_item (item, "gtk-action-menu-item", NULL); + + return TRUE; } return FALSE; |