Don't use an uninitialized tree iter. (#150414, Torsten Schoenfeld)

Sat Aug 21 23:53:39 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an
	uninitialized tree iter.  (#150414, Torsten Schoenfeld)
This commit is contained in:
Matthias Clasen 2004-08-22 03:56:43 +00:00 committed by Matthias Clasen
parent 448f2229a5
commit 54938b0c6d
5 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sat Aug 21 23:52:13 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an
uninitialized tree iter. (#150414, Torsten Schoenfeld)
Sat Aug 21 23:29:54 2004 Matthias Clasen <maclas@gmx.de>
Fix #150738, Tomislav Jonjic.

View File

@ -1,3 +1,8 @@
Sat Aug 21 23:52:13 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an
uninitialized tree iter. (#150414, Torsten Schoenfeld)
Sat Aug 21 23:29:54 2004 Matthias Clasen <maclas@gmx.de>
Fix #150738, Tomislav Jonjic.

View File

@ -1,3 +1,8 @@
Sat Aug 21 23:52:13 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an
uninitialized tree iter. (#150414, Torsten Schoenfeld)
Sat Aug 21 23:29:54 2004 Matthias Clasen <maclas@gmx.de>
Fix #150738, Tomislav Jonjic.

View File

@ -1,3 +1,8 @@
Sat Aug 21 23:52:13 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an
uninitialized tree iter. (#150414, Torsten Schoenfeld)
Sat Aug 21 23:29:54 2004 Matthias Clasen <maclas@gmx.de>
Fix #150738, Tomislav Jonjic.

View File

@ -2111,7 +2111,8 @@ gtk_tree_store_swap (GtkTreeStore *tree_store,
order[i] = i;
gtk_tree_model_rows_reordered (GTK_TREE_MODEL (tree_store), path_a,
&parent, order);
parent_node == tree_store->root
? NULL : &parent, order);
gtk_tree_path_free (path_a);
g_free (order);
}