Commit 9a6f5c1a authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

more g_signal-ification. g_signal_handlers_disconnect_by_func just hides

2002-02-15  Jody Goldberg <jody@gnome.org>

	* src/widgets/gnumeric-combo-text.c (gnm_combo_text_destroy) : more
	  g_signal-ification.  g_signal_handlers_disconnect_by_func just hides
	  the problem.  The real issue is that we are disconnecting twice.
parent 7415a642
2002-02-15 Jody Goldberg <jody@gnome.org>
* src/widgets/gnumeric-combo-text.c (gnm_combo_text_destroy) : more
g_signal-ification.
g_signal-ification. g_signal_handlers_disconnect_by_func just hides
the problem. The real issue is that we are disconnecting twice.
* src/workbook.c (workbook_set_saveinfo) : use a weak_ref.
......
2002-02-15 Jody Goldberg <jody@gnome.org>
* src/widgets/gnumeric-combo-text.c (gnm_combo_text_destroy) : more
g_signal-ification.
g_signal-ification. g_signal_handlers_disconnect_by_func just hides
the problem. The real issue is that we are disconnecting twice.
* src/workbook.c (workbook_set_saveinfo) : use a weak_ref.
......
2002-02-15 Jody Goldberg <jody@gnome.org>
* src/widgets/gnumeric-combo-text.c (gnm_combo_text_destroy) : more
g_signal-ification.
g_signal-ification. g_signal_handlers_disconnect_by_func just hides
the problem. The real issue is that we are disconnecting twice.
* src/workbook.c (workbook_set_saveinfo) : use a weak_ref.
......
......@@ -249,10 +249,13 @@ gnm_combo_text_destroy (GtkObject *object)
GtkObjectClass *parent;
GnmComboText *ct = GNM_COMBO_TEXT (object);
gtk_signal_disconnect_by_func (GTK_OBJECT (ct),
G_CALLBACK (cb_pop_down), NULL);
g_signal_handlers_disconnect_by_func (GTK_OBJECT (ct->list),
G_CALLBACK (cb_list_unselect), ct);
if (ct->list != NULL) {
g_signal_handlers_disconnect_by_func (G_OBJECT (ct),
G_CALLBACK (cb_pop_down), NULL);
g_signal_handlers_disconnect_by_func (GTK_OBJECT (ct->list),
G_CALLBACK (cb_list_unselect), ct);
ct->list = NULL;
}
parent = g_type_class_peek (gtk_combo_box_get_type ());
if (parent && parent->destroy)
......
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