diff options
author | Tim Janik <timj@gtk.org> | 2001-04-01 07:32:41 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2001-04-01 07:32:41 +0000 |
commit | 770938bf2fbfe2d6ed74f4427c7778aba2ca628a (patch) | |
tree | b0a6da271ba833b68063d00b73e6b3c9a6b1139b /gtk/gtknotebook.c | |
parent | 270e4f18026eea6c9e601a440b23bbad06108ef5 (diff) | |
download | gdk-pixbuf-770938bf2fbfe2d6ed74f4427c7778aba2ca628a.tar.gz |
got rid of gtk_widget_popup(), a function that bad needs to be nuked, not
Sun Apr 1 08:00:13 2001 Tim Janik <timj@gtk.org>
* 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.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 530b5de94..96b3bd596 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -95,7 +95,7 @@ struct _GtkNotebookPage GtkRequisition requisition; GtkAllocation allocation; - guint activate_mnemonic_signal; + guint mnemonic_activate_signal; }; #ifdef G_DISABLE_CHECKS @@ -1977,9 +1977,9 @@ gtk_notebook_real_remove (GtkNotebook *notebook, if (GTK_WIDGET_VISIBLE (page->child) && GTK_WIDGET_VISIBLE (notebook)) need_resize = TRUE; - if (page->tab_label && page->activate_mnemonic_signal) + if (page->tab_label && page->mnemonic_activate_signal) gtk_signal_disconnect (page->tab_label, - page->activate_mnemonic_signal); + page->mnemonic_activate_signal); gtk_widget_unparent (page->child); @@ -3636,7 +3636,7 @@ gtk_notebook_page_compare_tab (gconstpointer a, } static gboolean -gtk_notebook_activate_mnemonic_switch_page (GtkWidget *child, +gtk_notebook_mnemonic_activate_switch_page (GtkWidget *child, gboolean overload, gpointer data) { @@ -3698,7 +3698,7 @@ gtk_notebook_insert_page_menu (GtkNotebook *notebook, page->allocation.height = 0; page->default_menu = FALSE; page->default_tab = FALSE; - page->activate_mnemonic_signal = 0; + page->mnemonic_activate_signal = 0; nchildren = g_list_length (notebook->children); if ((position < 0) || (position > nchildren)) @@ -3781,10 +3781,10 @@ gtk_notebook_insert_page_menu (GtkNotebook *notebook, } if (tab_label) - page->activate_mnemonic_signal = + page->mnemonic_activate_signal = gtk_signal_connect (GTK_OBJECT (tab_label), - "activate_mnemonic", - (GtkSignalFunc) gtk_notebook_activate_mnemonic_switch_page, + "mnemonic_activate", + (GtkSignalFunc) gtk_notebook_mnemonic_activate_switch_page, notebook); } |