summaryrefslogtreecommitdiff
path: root/monitor/udisks2/gvfsudisks2volume.c
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-09-28 17:27:34 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-09-28 17:27:34 -0400
commitf3f6a9a10ce427001805849e6e74959154cf27dc (patch)
treecf85872d4efa8866fc45d00fbb2501a9fcef71d7 /monitor/udisks2/gvfsudisks2volume.c
parentd10afcce3ca1f90e860eae8c8ab64a32daef8d0f (diff)
downloadgvfs-f3f6a9a10ce427001805849e6e74959154cf27dc.tar.gz
Map UDisksError to GIOError and use FAILED_HANDLED for dismissed polkit dialogs
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'monitor/udisks2/gvfsudisks2volume.c')
-rw-r--r--monitor/udisks2/gvfsudisks2volume.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/monitor/udisks2/gvfsudisks2volume.c b/monitor/udisks2/gvfsudisks2volume.c
index d2b15372..151a8894 100644
--- a/monitor/udisks2/gvfsudisks2volume.c
+++ b/monitor/udisks2/gvfsudisks2volume.c
@@ -34,6 +34,7 @@
#include "gvfsudisks2drive.h"
#include "gvfsudisks2volume.h"
#include "gvfsudisks2mount.h"
+#include "gvfsudisks2utils.h"
typedef struct _GVfsUDisks2VolumeClass GVfsUDisks2VolumeClass;
@@ -549,6 +550,7 @@ mount_cb (GObject *source_object,
res,
&error))
{
+ gvfs_udisks2_utils_udisks_error_to_gio_error (error);
g_simple_async_result_take_error (data->simple, error);
g_simple_async_result_complete (data->simple);
}