summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorjacob berkman <jacob@ximian.com>2001-11-30 23:17:29 +0000
committerJacob Berkman <jberkman@src.gnome.org>2001-11-30 23:17:29 +0000
commit5e0b93dc250d20d916d8f7c0ba3b196c73312007 (patch)
treecbeea6857ebbf43e47fa85f16e2d8ab90e489ad4 /gtk/gtknotebook.c
parent101d44881c27931cba352180d919488df5cd3b7b (diff)
downloadgtk+-5e0b93dc250d20d916d8f7c0ba3b196c73312007.tar.gz
set the signal id to 0 after we disconnect from it
2001-11-30 jacob berkman <jacob@ximian.com> * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the signal id to 0 after we disconnect from it
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index ae2ff72fc8..45796a0a7d 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -2206,6 +2206,7 @@ gtk_notebook_remove_tab_label (GtkNotebook *notebook,
if (page->mnemonic_activate_signal)
gtk_signal_disconnect (page->tab_label,
page->mnemonic_activate_signal);
+ page->mnemonic_activate_signal = 0;
gtk_widget_unparent (page->tab_label);
}