gvfs r1681 - in trunk: . daemon



Author: alexl
Date: Wed Mar 26 13:53:00 2008
New Revision: 1681
URL: http://svn.gnome.org/viewvc/gvfs?rev=1681&view=rev

Log:
2008-03-26  Alexander Larsson  <alexl redhat com>

	* daemon/gvfsmonitor.c:
	Send replies to subscribe and unsubscribe messages.




Modified:
   trunk/ChangeLog
   trunk/daemon/gvfsmonitor.c

Modified: trunk/daemon/gvfsmonitor.c
==============================================================================
--- trunk/daemon/gvfsmonitor.c	(original)
+++ trunk/daemon/gvfsmonitor.c	Wed Mar 26 13:53:00 2008
@@ -197,6 +197,9 @@
 
 	  g_object_ref (monitor);
 	  monitor->priv->subscribers = g_list_prepend (monitor->priv->subscribers, subscriber);
+
+	  reply = dbus_message_new_method_return (message);
+	  dbus_connection_send (connection, reply, NULL);
 	}
       
       return DBUS_HANDLER_RESULT_HANDLED;
@@ -232,6 +235,9 @@
 		  break;
 		}
 	    }
+	  
+	  reply = dbus_message_new_method_return (message);
+	  dbus_connection_send (connection, reply, NULL);
 	}
       
       return DBUS_HANDLER_RESULT_HANDLED;



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