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.
This commit is contained in:
Matthias Clasen
2004-10-28 14:55:31 +00:00
committed by Matthias Clasen
parent 2d6328d699
commit dbba41045e
5 changed files with 17 additions and 0 deletions

View File

@ -1,5 +1,8 @@
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)

View File

@ -1,5 +1,8 @@
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)

View File

@ -1,5 +1,8 @@
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)

View File

@ -1,5 +1,8 @@
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)

View File

@ -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));
}