[nautilus] placesview: update to master



commit 4b8c6ec4dc820de7ec8328b923882d09484955c3
Author: Carlos Soriano <csoriano gnome org>
Date:   Mon Feb 22 16:23:44 2016 +0100

    placesview: update to master
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756659

 src/gtk/gtkplacesview.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/gtk/gtkplacesview.c b/src/gtk/gtkplacesview.c
index 816a2a1..e1f27b2 100644
--- a/src/gtk/gtkplacesview.c
+++ b/src/gtk/gtkplacesview.c
@@ -1195,7 +1195,6 @@ server_mount_ready_cb (GObject      *source_file,
         {
           GMount *mount_point;
           GError *error;
-          GFile *enclosing_location;
 
           error = NULL;
           mount_point = g_file_find_enclosing_mount (location, NULL, &error);
@@ -1207,11 +1206,7 @@ server_mount_ready_cb (GObject      *source_file,
               goto out;
             }
 
-          enclosing_location = g_mount_get_default_location (mount_point);
-
-          emit_open_location (view, enclosing_location, priv->open_flags);
-
-          g_object_unref (enclosing_location);
+          emit_open_location (view, location, priv->open_flags);
         }
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]