summaryrefslogtreecommitdiff
path: root/common/gmountoperationdbus.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 13:35:09 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 13:35:09 +0000
commit034167f20a050c6e24e84587f4d954f6a5a6fedc (patch)
treeab420f6aaaeee721e40b5f034ca10d9063c42496 /common/gmountoperationdbus.c
parent1e2578821390259c815f12ef71a69563a7782ecf (diff)
downloadgvfs-034167f20a050c6e24e84587f4d954f6a5a6fedc.tar.gz
Actually send GMountOperation to mount_mountable daemon call
Original git commit by Alexander Larsson <alexl@redhat.com> at 1178805011 +0200 svn path=/trunk/; revision=547
Diffstat (limited to 'common/gmountoperationdbus.c')
-rw-r--r--common/gmountoperationdbus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/gmountoperationdbus.c b/common/gmountoperationdbus.c
index caa514ba..8de92a60 100644
--- a/common/gmountoperationdbus.c
+++ b/common/gmountoperationdbus.c
@@ -53,6 +53,9 @@ g_mount_operation_dbus_wrap (GMountOperation *op)
mount_op_message_function
};
+ if (op == NULL)
+ return g_mount_source_new_dummy ();
+
op_dbus = g_new0 (GMountOperationDBus, 1);
op_dbus->op = op;