Commit 55b46cc8 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent 8ac97865
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
......
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
......
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
......
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
......
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
......
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
......
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment