[Xfce4-commits] [xfce/thunar] 01/01: Fix for crash when inserting USB device in tree mode. (Bug #15172)

noreply at xfce.org noreply at xfce.org
Sun Mar 15 21:55:27 CET 2020


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

a   l   e   x       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       x   f   c   e   -   4   .   1   4   
   in repository xfce/thunar.

commit 35055c227e46d68e9f46fb4eb9c2854e5ab1c4b3
Author: Reuben Green <reubengreen73 at gmail.com>
Date:   Sat Mar 14 00:49:05 2020 +0000

    Fix for crash when inserting USB device in tree mode. (Bug #15172)
    
    This fix reverts commit 33a155c1bded0487396b609aad19730a9f201bbb
---
 thunar/thunar-tree-model.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/thunar/thunar-tree-model.c b/thunar/thunar-tree-model.c
index 17d9bf5..774a5e3 100644
--- a/thunar/thunar-tree-model.c
+++ b/thunar/thunar-tree-model.c
@@ -1099,13 +1099,13 @@ thunar_tree_model_device_added (ThunarDeviceMonitor *device_monitor,
   /* determine the iterator for the new node */
   GTK_TREE_ITER_INIT (iter, model->stamp, node);
 
-  /* add the dummy node */
-  thunar_tree_model_node_insert_dummy (node, model);
-
   /* tell the view about the new node */
   path = gtk_tree_model_get_path (GTK_TREE_MODEL (model), &iter);
   gtk_tree_model_row_inserted (GTK_TREE_MODEL (model), path, &iter);
   gtk_tree_path_free (path);
+
+  /* add the dummy node */
+  thunar_tree_model_node_insert_dummy (node, model);
 }
 
 

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


More information about the Xfce4-commits mailing list