dbus/bus driver.c,1.65,1.66

Havoc Pennington hp at freedesktop.org
Sat Feb 12 12:27:47 PST 2005


Update of /cvs/dbus/dbus/bus
In directory gabe:/tmp/cvs-serv6754/bus

Modified Files:
	driver.c 
Log Message:
2005-02-12  Havoc Pennington  <hp at redhat.com>

	* tools/dbus-tree-view.c (info_set_func_text): display more
	details on args

	* bus/driver.c (bus_driver_handle_list_services): list the bus
	driver

	* glib/dbus-gparser.c (parse_arg): generate an arg name if none is supplied

	* glib/dbus-gidl.c (signal_info_get_n_args): new function
	(method_info_get_n_args): new function



Index: driver.c
===================================================================
RCS file: /cvs/dbus/dbus/bus/driver.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- driver.c	12 Feb 2005 20:13:08 -0000	1.65
+++ driver.c	12 Feb 2005 20:27:45 -0000	1.66
@@ -409,6 +409,19 @@
       return FALSE;
     }
 
+  {
+    /* Include the bus driver in the list */
+    const char *v_STRING = DBUS_SERVICE_ORG_FREEDESKTOP_DBUS;
+    if (!dbus_message_iter_append_basic (&sub, DBUS_TYPE_STRING,
+                                         &v_STRING))
+      {
+        dbus_free_string_array (services);
+        dbus_message_unref (reply);
+        BUS_SET_OOM (error);
+        return FALSE;
+      }
+  }
+  
   i = 0;
   while (i < len)
     {



More information about the dbus-commit mailing list