From 770938bf2fbfe2d6ed74f4427c7778aba2ca628a Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Sun, 1 Apr 2001 07:32:41 +0000 Subject: got rid of gtk_widget_popup(), a function that bad needs to be nuked, not Sun Apr 1 08:00:13 2001 Tim Janik * gtk/gtkwidget.[hc]: got rid of gtk_widget_popup(), a function that bad needs to be nuked, not just deprecated. * gtk/gtktooltips.c (gtk_tooltips_draw_tips): don't use gtk_widget_popup(). * gtk/*.[hc]: s/activate_mnemonic/mnemonic_activate/g; * gtk/gtkmenufactory.[hc]: removed this long-standingly deprecated widget. * docs/Changes-2.0.txt: updates. --- gtk/gtklabel.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gtk/gtklabel.c') diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 79255812d3..028b6a709e 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -123,7 +123,7 @@ static void gtk_label_select_region_index (GtkLabel *label, gint anchor_index, gint end_index); -static gboolean gtk_label_activate_mnemonic (GtkWidget *widget, +static gboolean gtk_label_mnemonic_activate (GtkWidget *widget, gboolean group_cycling); @@ -184,7 +184,7 @@ gtk_label_class_init (GtkLabelClass *class) widget_class->button_release_event = gtk_label_button_release; widget_class->motion_notify_event = gtk_label_motion; widget_class->hierarchy_changed = gtk_label_hierarchy_changed; - widget_class->activate_mnemonic = gtk_label_activate_mnemonic; + widget_class->mnemonic_activate = gtk_label_mnemonic_activate; g_object_class_install_property (G_OBJECT_CLASS(object_class), PROP_LABEL, @@ -431,13 +431,13 @@ gtk_label_new_with_mnemonic (const gchar *str) } static gboolean -gtk_label_activate_mnemonic (GtkWidget *widget, +gtk_label_mnemonic_activate (GtkWidget *widget, gboolean group_cycling) { GtkWidget *parent; if (GTK_LABEL (widget)->mnemonic_widget) - return gtk_widget_activate_mnemonic (GTK_LABEL (widget)->mnemonic_widget, group_cycling); + return gtk_widget_mnemonic_activate (GTK_LABEL (widget)->mnemonic_widget, group_cycling); /* Try to find the widget to activate by traversing the * widget's ancestry. @@ -449,7 +449,7 @@ gtk_label_activate_mnemonic (GtkWidget *widget, (!group_cycling && GTK_WIDGET_GET_CLASS (parent)->activate_signal) || (parent->parent && GTK_IS_NOTEBOOK (parent->parent)) || (GTK_IS_MENU_ITEM (parent))) - return gtk_widget_activate_mnemonic (parent, group_cycling); + return gtk_widget_mnemonic_activate (parent, group_cycling); parent = parent->parent; } @@ -509,7 +509,7 @@ gtk_label_hierarchy_changed (GtkWidget *widget) * (i.e. when the target is a #GtkEntry next to the label) you need to * set it explicitly using this function. * - * The target widget will be accelerated by emitting "activate_mnemonic" on it. + * The target widget will be accelerated by emitting "mnemonic_activate" on it. * The default handler for this signal will activate the widget if there are no * mnemonic collisions and toggle focus between the colliding widgets otherwise. **/ -- cgit v1.2.1