mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
only remove the signal if the box exists.
Thu May 27 00:07:47 2004 Jonathan Blandford <jrb@gnome.org> * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): only remove the signal if the box exists.
This commit is contained in:
parent
310fd268e7
commit
d61e4f7440
@ -1,3 +1,8 @@
|
||||
Thu May 27 00:07:47 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): only remove the
|
||||
signal if the box exists.
|
||||
|
||||
Wed May 26 23:26:51 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
Support insensitive cells in tree views and combo boxes:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu May 27 00:07:47 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): only remove the
|
||||
signal if the box exists.
|
||||
|
||||
Wed May 26 23:26:51 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
Support insensitive cells in tree views and combo boxes:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu May 27 00:07:47 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): only remove the
|
||||
signal if the box exists.
|
||||
|
||||
Wed May 26 23:26:51 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
Support insensitive cells in tree views and combo boxes:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu May 27 00:07:47 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): only remove the
|
||||
signal if the box exists.
|
||||
|
||||
Wed May 26 23:26:51 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
Support insensitive cells in tree views and combo boxes:
|
||||
|
@ -2467,11 +2467,12 @@ gtk_combo_box_list_destroy (GtkComboBox *combo_box)
|
||||
0, 0, NULL,
|
||||
gtk_combo_box_list_button_pressed,
|
||||
NULL);
|
||||
g_signal_handlers_disconnect_matched (combo_box->priv->box,
|
||||
G_SIGNAL_MATCH_DATA,
|
||||
0, 0, NULL,
|
||||
gtk_combo_box_list_button_pressed,
|
||||
NULL);
|
||||
if (combo_box->priv->box)
|
||||
g_signal_handlers_disconnect_matched (combo_box->priv->box,
|
||||
G_SIGNAL_MATCH_DATA,
|
||||
0, 0, NULL,
|
||||
gtk_combo_box_list_button_pressed,
|
||||
NULL);
|
||||
|
||||
/* destroy things (unparent will kill the latest ref from us)
|
||||
* last unref on button will destroy the arrow
|
||||
|
Loading…
Reference in New Issue
Block a user