From d3fc78bfb6883dcda40b5698691374385106abfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 7 Dec 2009 22:42:08 +0100 Subject: [gtk/gtktoolitem] Remove deprecated GtkToolItem stuff This completes 221dcb6955cb89d1f89e71f442fc4c42fb76fcf3 --- gtk/gtktoolitem.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'gtk/gtktoolitem.c') 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 -- cgit v1.2.1