summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/caja-places-sidebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c
index 884131b0..f41bd04c 100644
--- a/src/caja-places-sidebar.c
+++ b/src/caja-places-sidebar.c
@@ -2548,7 +2548,7 @@ drive_stop_cb (GObject *source_object,
g_object_unref (window);
error = NULL;
- if (!g_drive_poll_for_media_finish (G_DRIVE (source_object), res, &error))
+ if (!g_drive_stop_finish(G_DRIVE (source_object), res, &error))
{
if (error->code != G_IO_ERROR_FAILED_HANDLED)
{