mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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:
parent
57c44b18e7
commit
d708f2f081
13
ChangeLog
13
ChangeLog
@ -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>
|
||||
|
@ -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] =
|
||||
|
Loading…
Reference in New Issue
Block a user