[Xfce4-commits] [xfce/thunar] 01/10: Revert "Refresh file info after getting it from cache (bug #11008)"

noreply at xfce.org noreply at xfce.org
Sat Apr 18 14:23:04 CEST 2015


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

hjudt pushed a commit to branch master
in repository xfce/thunar.

commit 46b5d850c33de0b0d7c5e4bb60ddbafec466ae47
Author: Harald Judt <h.judt at gmx.at>
Date:   Mon Mar 16 19:36:23 2015 +0100

    Revert "Refresh file info after getting it from cache (bug #11008)"
    
    This reverts commit cc8d1331e305f2af5842607d885eb96608b8fce7,
    which proved to cause crashes due to threading issues.
---
 thunar/thunar-file.c |   16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index dfaaf33..aa4939c 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -1230,22 +1230,6 @@ thunar_file_get_with_info (GFile     *gfile,
     {
       /* return the file, it already has an additional ref set
        * in thunar_file_cache_lookup */
-
-      /* The file might have changed while being cached.
-       * Use the info to update the file */
-
-      /* reset the file */
-      thunar_file_info_clear (file);
-
-      /* set the passed info */
-      file->info = g_object_ref (info);
-
-      /* update the file from the information */
-      thunar_file_info_reload (file, NULL);
-
-      /* update the mounted info */
-      if (not_mounted)
-        FLAG_UNSET (file, THUNAR_FILE_FLAG_IS_MOUNTED);
     }
   else
     {

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


More information about the Xfce4-commits mailing list