summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-02-22 16:23:44 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-02-24 11:21:04 +0100
commit4b8c6ec4dc820de7ec8328b923882d09484955c3 (patch)
tree93efb579b9af186c75629d6285c6580b5e9b76df
parent427d89e90c3039c3c1d65a58822e77ff9870fd4b (diff)
downloadnautilus-4b8c6ec4dc820de7ec8328b923882d09484955c3.tar.gz
placesview: update to master
https://bugzilla.gnome.org/show_bug.cgi?id=756659
-rw-r--r--src/gtk/gtkplacesview.c7
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);
}
}