Commit dbba4104 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Disconnect from the remove-widget signal after removing the signal.

2004-10-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_remove_widget): Disconnect
	from the remove-widget signal after removing the signal.
parent 2d6328d6
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_widget): Disconnect
from the remove-widget signal after removing the signal.
* gtk/gtkaboutdialog.c (gtk_show_about_dialog): Destroy
the dialog with the parent. (#156557, Paolo Borelli)
......
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_widget): Disconnect
from the remove-widget signal after removing the signal.
* gtk/gtkaboutdialog.c (gtk_show_about_dialog): Destroy
the dialog with the parent. (#156557, Paolo Borelli)
......
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_widget): Disconnect
from the remove-widget signal after removing the signal.
* gtk/gtkaboutdialog.c (gtk_show_about_dialog): Destroy
the dialog with the parent. (#156557, Paolo Borelli)
......
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_remove_widget): Disconnect
from the remove-widget signal after removing the signal.
* gtk/gtkaboutdialog.c (gtk_show_about_dialog): Destroy
the dialog with the parent. (#156557, Paolo Borelli)
......
......@@ -12740,8 +12740,13 @@ gtk_tree_view_remove_widget (GtkCellEditable *cell_editable,
if (GTK_WIDGET_HAS_FOCUS (cell_editable))
gtk_widget_grab_focus (GTK_WIDGET (tree_view));
g_signal_handlers_disconnect_by_func (cell_editable,
gtk_tree_view_remove_widget,
tree_view);
gtk_container_remove (GTK_CONTAINER (tree_view),
GTK_WIDGET (cell_editable));
/* FIXME should only redraw a single node */
gtk_widget_queue_draw (GTK_WIDGET (tree_view));
}
......
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