summaryrefslogtreecommitdiffstats
path: root/bus/driver.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2005-02-12 20:27:45 +0000
committerHavoc Pennington <hp@redhat.com>2005-02-12 20:27:45 +0000
commit970be5fda36ea575973a9e7f25389e2ef173b940 (patch)
tree6bcc78511c8db57acaf1ca9b9c0e064ba122cb4f /bus/driver.c
parent85fb9ff93c91bc500b91759d044e3dfd951c7868 (diff)
2005-02-12 Havoc Pennington <hp@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
Diffstat (limited to 'bus/driver.c')
-rw-r--r--bus/driver.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/bus/driver.c b/bus/driver.c
index 7a716824..9c1a47c7 100644
--- a/bus/driver.c
+++ b/bus/driver.c
@@ -409,6 +409,19 @@ bus_driver_handle_list_services (DBusConnection *connection,
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)
{