Commit d708f2f0 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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
parent 57c44b18
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>
......
......@@ -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] =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment