summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@daimi.au.dk>2004-08-22 10:31:49 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2004-08-22 10:31:49 +0000
commit6b4ef37ccc407fdcd7d9a92cfc0d903359f772ed (patch)
treee4905ac8b6cb3fc990686d39a33e1dfc9f70c56d /gtk
parent33c74e3076792e4bc62a5f550c8773723fb8dbc7 (diff)
downloadgtk+-6b4ef37ccc407fdcd7d9a92cfc0d903359f772ed.tar.gz
Use the correct tree path (#150289, Morten Welinder).
Sun Aug 22 12:04:59 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Use the correct tree path (#150289, Morten Welinder).
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkliststore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c
index 24ca369f53..95700acc9a 100644
--- a/gtk/gtkliststore.c
+++ b/gtk/gtkliststore.c
@@ -1669,7 +1669,7 @@ gtk_list_store_sort_iter_changed (GtkListStore *list_store,
gtk_list_store_compare_func,
list_store);
- tmp_path = gtk_tree_path_new ();
+ tmp_path = gtk_tree_model_get_path (GTK_TREE_MODEL (list_store), iter);
gtk_tree_model_row_changed (GTK_TREE_MODEL (list_store), tmp_path, iter);
gtk_tree_path_free (tmp_path);
}