gvfs r1916 - in trunk: . monitor/proxy



Author: davidz
Date: Thu Aug 28 23:58:04 2008
New Revision: 1916
URL: http://svn.gnome.org/viewvc/gvfs?rev=1916&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/monitor/proxy/gvfsproxyvolumemonitordaemon.c

Modified: trunk/monitor/proxy/gvfsproxyvolumemonitordaemon.c
==============================================================================
--- trunk/monitor/proxy/gvfsproxyvolumemonitordaemon.c	(original)
+++ trunk/monitor/proxy/gvfsproxyvolumemonitordaemon.c	Thu Aug 28 23:58:04 2008
@@ -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 @@
   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))
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]