check handler_id before disconnecting the signal handler since it might
2002-02-20 Sven Neumann <sven@gimp.org> * gtk/gtkcolorsel.c (gtk_color_selection_finalize): check handler_id before disconnecting the signal handler since it might have never been connected if the GtkColorSelection is destroyed before it was realized.
This commit is contained in:
parent
8ac97865e8
commit
55b46cc8d4
@ -1,3 +1,10 @@
|
||||
2002-02-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_finalize): check
|
||||
handler_id before disconnecting the signal handler since it might
|
||||
have never been connected if the GtkColorSelection is destroyed
|
||||
before it was realized.
|
||||
|
||||
2002-02-20 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_finalize): check
|
||||
handler_id before disconnecting the signal handler since it might
|
||||
have never been connected if the GtkColorSelection is destroyed
|
||||
before it was realized.
|
||||
|
||||
2002-02-20 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_finalize): check
|
||||
handler_id before disconnecting the signal handler since it might
|
||||
have never been connected if the GtkColorSelection is destroyed
|
||||
before it was realized.
|
||||
|
||||
2002-02-20 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_finalize): check
|
||||
handler_id before disconnecting the signal handler since it might
|
||||
have never been connected if the GtkColorSelection is destroyed
|
||||
before it was realized.
|
||||
|
||||
2002-02-20 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_finalize): check
|
||||
handler_id before disconnecting the signal handler since it might
|
||||
have never been connected if the GtkColorSelection is destroyed
|
||||
before it was realized.
|
||||
|
||||
2002-02-20 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_finalize): check
|
||||
handler_id before disconnecting the signal handler since it might
|
||||
have never been connected if the GtkColorSelection is destroyed
|
||||
before it was realized.
|
||||
|
||||
2002-02-20 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-02-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gtk/gtkcolorsel.c (gtk_color_selection_finalize): check
|
||||
handler_id before disconnecting the signal handler since it might
|
||||
have never been connected if the GtkColorSelection is destroyed
|
||||
before it was realized.
|
||||
|
||||
2002-02-20 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
|
||||
|
@ -1944,8 +1944,9 @@ gtk_color_selection_finalize (GObject *object)
|
||||
|
||||
priv = cselection->private_data;
|
||||
|
||||
g_signal_handler_disconnect (gtk_settings_get_default (),
|
||||
priv->settings_connection);
|
||||
if (priv->settings_connection)
|
||||
g_signal_handler_disconnect (gtk_settings_get_default (),
|
||||
priv->settings_connection);
|
||||
|
||||
g_free (cselection->private_data);
|
||||
cselection->private_data = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user