mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Avoid uninitialized use of &parent_iter. (#145007, John Finlay)
Fri Jun 25 22:49:58 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktreestore.c (gtk_tree_store_move): Avoid uninitialized use of &parent_iter. (#145007, John Finlay)
This commit is contained in:
parent
8b6934bc2c
commit
c3bb3bef04
@ -1,3 +1,8 @@
|
||||
Fri Jun 25 22:49:58 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_move): Avoid uninitialized
|
||||
use of &parent_iter. (#145007, John Finlay)
|
||||
|
||||
2004-06-25 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
reviewed by: Matthias Clasen <maclas@gmx.de>
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jun 25 22:49:58 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_move): Avoid uninitialized
|
||||
use of &parent_iter. (#145007, John Finlay)
|
||||
|
||||
2004-06-25 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
reviewed by: Matthias Clasen <maclas@gmx.de>
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jun 25 22:49:58 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_move): Avoid uninitialized
|
||||
use of &parent_iter. (#145007, John Finlay)
|
||||
|
||||
2004-06-25 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
reviewed by: Matthias Clasen <maclas@gmx.de>
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jun 25 22:49:58 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_move): Avoid uninitialized
|
||||
use of &parent_iter. (#145007, John Finlay)
|
||||
|
||||
2004-06-25 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
reviewed by: Matthias Clasen <maclas@gmx.de>
|
||||
|
@ -2408,12 +2408,17 @@ gtk_tree_store_move (GtkTreeStore *tree_store,
|
||||
}
|
||||
|
||||
if (depth)
|
||||
path = gtk_tree_model_get_path (GTK_TREE_MODEL (tree_store), &parent_iter);
|
||||
{
|
||||
path = gtk_tree_model_get_path (GTK_TREE_MODEL (tree_store), &parent_iter);
|
||||
gtk_tree_model_rows_reordered (GTK_TREE_MODEL (tree_store),
|
||||
path, &parent_iter, order);
|
||||
}
|
||||
else
|
||||
path = gtk_tree_path_new ();
|
||||
|
||||
gtk_tree_model_rows_reordered (GTK_TREE_MODEL (tree_store),
|
||||
path, &parent_iter, order);
|
||||
{
|
||||
path = gtk_tree_path_new ();
|
||||
gtk_tree_model_rows_reordered (GTK_TREE_MODEL (tree_store),
|
||||
path, NULL, order);
|
||||
}
|
||||
|
||||
gtk_tree_path_free (path);
|
||||
if (position)
|
||||
|
Loading…
Reference in New Issue
Block a user