From 970be5fda36ea575973a9e7f25389e2ef173b940 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 12 Feb 2005 20:27:45 +0000 Subject: 2005-02-12 Havoc Pennington * 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 --- bus/driver.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'bus') 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) { -- cgit