diff options
author | Javier Jardón <jjardon@gnome.org> | 2009-12-07 22:42:08 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-05-03 01:51:20 +0200 |
commit | d3fc78bfb6883dcda40b5698691374385106abfe (patch) | |
tree | 209d3f7065dc228227aed51d32f099d26e4dd317 /gtk/gtktoolitem.c | |
parent | 04a548a46382223711582b40670aa89ece2e55c8 (diff) | |
download | gtk+-d3fc78bfb6883dcda40b5698691374385106abfe.tar.gz |
[gtk/gtktoolitem] Remove deprecated GtkToolItem stuff
This completes 221dcb6955cb89d1f89e71f442fc4c42fb76fcf3
Diffstat (limited to 'gtk/gtktoolitem.c')
-rw-r--r-- | gtk/gtktoolitem.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index b6b3491ab0..17309e9331 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -137,10 +137,6 @@ static void gtk_tool_item_size_request (GtkWidget *widget, GtkRequisition *requisition); static void gtk_tool_item_size_allocate (GtkWidget *widget, GtkAllocation *allocation); -static gboolean gtk_tool_item_real_set_tooltip (GtkToolItem *tool_item, - GtkTooltips *tooltips, - const gchar *tip_text, - const gchar *tip_private); static void gtk_tool_item_activatable_interface_init (GtkActivatableIface *iface); static void gtk_tool_item_update (GtkActivatable *activatable, @@ -183,7 +179,6 @@ gtk_tool_item_class_init (GtkToolItemClass *klass) widget_class->parent_set = gtk_tool_item_parent_set; 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, PROP_VISIBLE_HORIZONTAL, @@ -1049,22 +1044,6 @@ gtk_tool_item_set_is_important (GtkToolItem *tool_item, gboolean is_important) } } -static gboolean -gtk_tool_item_real_set_tooltip (GtkToolItem *tool_item, - GtkTooltips *tooltips, - const gchar *tip_text, - const gchar *tip_private) -{ - GtkWidget *child = GTK_BIN (tool_item)->child; - - if (!child) - return FALSE; - - gtk_widget_set_tooltip_text (child, tip_text); - - return TRUE; -} - /** * gtk_tool_item_set_tooltip_text: * @tool_item: a #GtkToolItem |