[Xfce4-commits] [xfce/thunar] 02/46: s/gtk_tree_path_new_root/gtk_tree_path_new_first/

noreply at xfce.org noreply at xfce.org
Tue Aug 15 02:35:10 CEST 2017


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 00a31986e4dab2447f464c03b17d98f3a76c7bc9
Author: Jonas Kümmerlin <rgcjonas at gmail.com>
Date:   Wed Aug 5 16:31:15 2015 +0200

    s/gtk_tree_path_new_root/gtk_tree_path_new_first/
---
 thunar/thunar-list-model.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c
index 9e6d83c..db000f3 100644
--- a/thunar/thunar-list-model.c
+++ b/thunar/thunar-list-model.c
@@ -1091,7 +1091,7 @@ thunar_list_model_sort (ThunarListModel *store)
     new_order[g_sequence_iter_get_position (old_order[n])] = n;
 
   /* tell the view about the new item order */
-  path = gtk_tree_path_new_root ();
+  path = gtk_tree_path_new_first ();
   gtk_tree_model_rows_reordered (GTK_TREE_MODEL (store), path, NULL, new_order);
   gtk_tree_path_free (path);
 
@@ -1168,7 +1168,7 @@ thunar_list_model_file_changed (ThunarFileMonitor *file_monitor,
                 }
 
               /* tell the view about the new item order */
-              path = gtk_tree_path_new_root ();
+              path = gtk_tree_path_new_first ();
               gtk_tree_model_rows_reordered (GTK_TREE_MODEL (store), path, NULL, new_order);
               gtk_tree_path_free (path);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list