[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:47:28 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       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 977ee3cf51f81dd61f50fedf331a64caa520d27a
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 1848395..0ab68a5 100644
--- a/thunar/thunar-tree-model.c
+++ b/thunar/thunar-tree-model.c
@@ -1095,13 +1095,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