Remove obsolete set-tooltip handler. (#458280, Christian Persch)

2007-07-24  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmenutoolbutton.c: Remove obsolete set-tooltip
        handler.  (#458280, Christian Persch)



svn path=/trunk/; revision=18540
This commit is contained in:
Matthias Clasen 2007-07-24 15:44:04 +00:00 committed by Matthias Clasen
parent 57c44b18e7
commit d708f2f081
2 changed files with 9 additions and 21 deletions

View File

@ -1,9 +1,14 @@
2007-07-24 Matthias Clasen <mclasen@redhat.com>
* gtkcolorsel.c:
* gtkfilechooserdefault.c:
* gtkpagesetupunixdialog.c:
* gtkprintunixdialog.c: Port to use new tooltips API.
* gtk/gtkmenutoolbutton.c: Remove obsolete set-tooltip
handler. (#458280, Christian Persch)
2007-07-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcolorsel.c:
* gtk/gtkfilechooserdefault.c:
* gtk/gtkpagesetupunixdialog.c:
* gtk/gtkprintunixdialog.c: Port to use new tooltips API.
(#451397, Jan Arne Petersen)
2007-07-24 Tor Lillqvist <tml@novell.com>

View File

@ -65,22 +65,6 @@ static gint signals[LAST_SIGNAL];
G_DEFINE_TYPE (GtkMenuToolButton, gtk_menu_tool_button, GTK_TYPE_TOOL_BUTTON)
static gboolean
gtk_menu_tool_button_set_tooltip (GtkToolItem *tool_item,
GtkTooltips *tooltips,
const char *tip_text,
const char *tip_private)
{
GtkMenuToolButton *button;
g_return_val_if_fail (GTK_IS_MENU_TOOL_BUTTON (tool_item), FALSE);
button = GTK_MENU_TOOL_BUTTON (tool_item);
gtk_tooltips_set_tip (tooltips, button->priv->button, tip_text, tip_private);
return TRUE;
}
static void
gtk_menu_tool_button_construct_contents (GtkMenuToolButton *button)
{
@ -218,7 +202,6 @@ gtk_menu_tool_button_class_init (GtkMenuToolButtonClass *klass)
object_class->get_property = gtk_menu_tool_button_get_property;
gtk_object_class->destroy = gtk_menu_tool_button_destroy;
widget_class->state_changed = gtk_menu_tool_button_state_changed;
toolitem_class->set_tooltip = gtk_menu_tool_button_set_tooltip;
toolitem_class->toolbar_reconfigured = gtk_menu_tool_button_toolbar_reconfigured;
signals[SHOW_MENU] =