diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-02-22 16:23:44 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-02-23 16:46:18 +0100 |
commit | e42af98f251e7fb8d7976c4deff98f31e10d49fc (patch) | |
tree | 84ec96f023a9f61ab0aa8b4036bd7dd84beeb235 | |
parent | 4fd05195448d1d631293394c01e41a98e0c01979 (diff) | |
download | nautilus-e42af98f251e7fb8d7976c4deff98f31e10d49fc.tar.gz |
placesview: update to master
https://bugzilla.gnome.org/show_bug.cgi?id=756659
-rw-r--r-- | 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 816a2a177..e1f27b238 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); } } |