summaryrefslogtreecommitdiff
path: root/src/nautilus-window-manage-views.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2007-12-13 16:24:48 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-12-13 16:24:48 +0000
commit1da859f008f6a6f5bd3b8127dc00ff0d5d71ca20 (patch)
tree9346a026f6ed63bb687db190be69eb23c693b035 /src/nautilus-window-manage-views.c
parent9e0881ae1c6b74c603e302254394ff00e9105f1a (diff)
downloadnautilus-1da859f008f6a6f5bd3b8127dc00ff0d5d71ca20.tar.gz
Update for g_mount_for_location to g_file_mount_enclosing_volume change.
2007-12-13 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-mime-actions.c: * src/nautilus-window-manage-views.c: Update for g_mount_for_location to g_file_mount_enclosing_volume change. svn path=/trunk/; revision=13527
Diffstat (limited to 'src/nautilus-window-manage-views.c')
-rw-r--r--src/nautilus-window-manage-views.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index b25612011..4eae4419e 100644
--- a/src/nautilus-window-manage-views.c
+++ b/src/nautilus-window-manage-views.c
@@ -914,7 +914,7 @@ mount_not_mounted_callback (GObject *source_object,
window->details->determine_view_file = nautilus_file_get (window->details->pending_location);
error = NULL;
- if (!g_mount_for_location_finish (G_FILE (source_object), res, &error)) {
+ if (!g_file_mount_enclosing_volume_finish (G_FILE (source_object), res, &error)) {
window->details->mount_error = error;
got_file_info_for_view_selection_callback (window->details->determine_view_file, window);
window->details->mount_error = NULL;
@@ -965,8 +965,8 @@ got_file_info_for_view_selection_callback (NautilusFile *file,
data->cancellable = g_cancellable_new ();
data->window = window;
window->details->mount_cancellable = data->cancellable;
- g_mount_for_location (location, mount_op, window->details->mount_cancellable,
- mount_not_mounted_callback, data);
+ g_file_mount_enclosing_volume (location, mount_op, window->details->mount_cancellable,
+ mount_not_mounted_callback, data);
g_object_unref (location);
g_object_unref (mount_op);