Changed to have the list become non-italic when the demo window is

Sat Nov 18 18:00:17 2000  Jonathan Blandford  <jrb@redhat.com>

	* demos/gtk-demo/main.c: Changed to have the list become
	non-italic when the demo window is destroyed through an external
	event (like a close button).  Doing so found three bugs in the
	widget.

	* demos/gtk-demo/*.c (do_*): Changed to return the toplevel window.

	* gtk/gtkliststore.c (gtk_list_store_set_cell): emit "change" when
	we actually set the cell.

	* gtk/gtktreestore.c (gtk_tree_store_set_cell): ditto

	* gtk/gtktreeselection.c (gtk_tree_selection_real_select_node):
	free a leaked path.  Thanks memprof.
This commit is contained in:
Jonathan Blandford
2000-11-18 23:59:30 +00:00
committed by Jonathan Blandford
parent 14ec95efb4
commit c9e39436b9
19 changed files with 230 additions and 23 deletions

View File

@ -1947,7 +1947,7 @@ gtk_tree_view_changed (GtkTreeModel *model,
else
{
/* FIXME: just redraw the node */
gtk_widget_queue_resize (GTK_WIDGET (data));
gtk_widget_queue_draw (GTK_WIDGET (data));
}
}