From 5e0b93dc250d20d916d8f7c0ba3b196c73312007 Mon Sep 17 00:00:00 2001 From: jacob berkman Date: Fri, 30 Nov 2001 23:17:29 +0000 Subject: [PATCH] set the signal id to 0 after we disconnect from it 2001-11-30 jacob berkman * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the signal id to 0 after we disconnect from it --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtknotebook.c | 1 + 8 files changed, 36 insertions(+) diff --git a/ChangeLog b/ChangeLog index 61a9abae63..b28ee393e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-30 jacob berkman + + * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the + signal id to 0 after we disconnect from it + 2001-11-30 Matthias Clasen * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref), diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 61a9abae63..b28ee393e5 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2001-11-30 jacob berkman + + * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the + signal id to 0 after we disconnect from it + 2001-11-30 Matthias Clasen * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref), diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 61a9abae63..b28ee393e5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2001-11-30 jacob berkman + + * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the + signal id to 0 after we disconnect from it + 2001-11-30 Matthias Clasen * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref), diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 61a9abae63..b28ee393e5 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2001-11-30 jacob berkman + + * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the + signal id to 0 after we disconnect from it + 2001-11-30 Matthias Clasen * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref), diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 61a9abae63..b28ee393e5 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2001-11-30 jacob berkman + + * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the + signal id to 0 after we disconnect from it + 2001-11-30 Matthias Clasen * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref), diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 61a9abae63..b28ee393e5 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2001-11-30 jacob berkman + + * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the + signal id to 0 after we disconnect from it + 2001-11-30 Matthias Clasen * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref), diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 61a9abae63..b28ee393e5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2001-11-30 jacob berkman + + * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the + signal id to 0 after we disconnect from it + 2001-11-30 Matthias Clasen * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref), 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); }