diff options
author | David Zeuthen <davidz@redhat.com> | 2008-08-28 23:58:04 +0000 |
---|---|---|
committer | David Zeuthen <davidz@src.gnome.org> | 2008-08-28 23:58:04 +0000 |
commit | 0a7448fcc569161f5bd225f64dcf895a160c58e0 (patch) | |
tree | 251282afebc5c64b2a053ea9e0d478c6ceb283ac /monitor | |
parent | 0601110fe34501ed826f282769eeab76a49cef7f (diff) | |
download | gvfs-0a7448fcc569161f5bd225f64dcf895a160c58e0.tar.gz |
Make sure we really read mount_flags and use_mount_operation. Fixes RH bug
2008-08-28 David Zeuthen <davidz@redhat.com>
* monitor/proxy/gproxyvolume.c: (g_proxy_volume_mount):
* monitor/proxy/gvfsproxyvolumemonitordaemon.c:
(handle_volume_mount): Make sure we really read mount_flags and
use_mount_operation. Fixes RH bug 460223.
svn path=/trunk/; revision=1916
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/proxy/gvfsproxyvolumemonitordaemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor/proxy/gvfsproxyvolumemonitordaemon.c b/monitor/proxy/gvfsproxyvolumemonitordaemon.c index 4ec905e7..3ee5bbf8 100644 --- a/monitor/proxy/gvfsproxyvolumemonitordaemon.c +++ b/monitor/proxy/gvfsproxyvolumemonitordaemon.c @@ -27,6 +27,7 @@ #include <gio/gio.h> #include <dbus/dbus.h> #include <glib/gi18n.h> +#include <stdlib.h> #include "gdbusutils.h" #include "gvfsproxyvolumemonitordaemon.h" @@ -592,13 +593,12 @@ handle_volume_mount (DBusConnection *connection, DBusMessage *message) GMountOperation *mount_operation; volume = NULL; - mount_flags = 0; ret = DBUS_HANDLER_RESULT_NOT_YET_HANDLED; dbus_error_init (&dbus_error); if (!dbus_message_get_args (message, &dbus_error, DBUS_TYPE_STRING, &id, - DBUS_TYPE_UINT32 &mount_flags, + DBUS_TYPE_UINT32, &mount_flags, DBUS_TYPE_BOOLEAN, &use_mount_operation, DBUS_TYPE_INVALID)) { |