From 7da40340f35b26b83342482aeceacc8ff2d01166 Mon Sep 17 00:00:00 2001 From: Olivier Andrieu Date: Wed, 9 Jun 2004 18:15:10 +0000 Subject: 2004-06-09 Olivier Andrieu * bus/driver.c, dbus/dbus-bus.c: use BOOLEAN instead of UINT32 for the reply value of the ServiceExists message. --- ChangeLog | 5 +++++ bus/driver.c | 2 +- dbus/dbus-bus.c | 4 +--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8b749fc0..cf58858d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-06-09 Olivier Andrieu + + * bus/driver.c, dbus/dbus-bus.c: use BOOLEAN instead of UINT32 for + the reply value of the ServiceExists message. + 2004-06-07 John (J5) Palmieri * python/dbus_bindings.pyx.in: No longer need to parse path diff --git a/bus/driver.c b/bus/driver.c index 9b444486..2b65a4c2 100644 --- a/bus/driver.c +++ b/bus/driver.c @@ -537,7 +537,7 @@ bus_driver_handle_service_exists (DBusConnection *connection, } if (!dbus_message_append_args (reply, - DBUS_TYPE_UINT32, service != NULL, + DBUS_TYPE_BOOLEAN, service != NULL, 0)) { BUS_SET_OOM (error); diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c index ea6a8bb5..7dfe5264 100644 --- a/dbus/dbus-bus.c +++ b/dbus/dbus-bus.c @@ -629,8 +629,6 @@ dbus_bus_acquire_service (DBusConnection *connection, /** * Checks whether a certain service exists. * - * @todo the SERVICE_EXISTS message should use BOOLEAN not UINT32 - * * @param connection the connection * @param service_name the service name * @param error location to store any errors @@ -677,7 +675,7 @@ dbus_bus_service_exists (DBusConnection *connection, } if (!dbus_message_get_args (reply, error, - DBUS_TYPE_UINT32, &exists, + DBUS_TYPE_BOOLEAN, &exists, DBUS_TYPE_INVALID)) { _DBUS_ASSERT_ERROR_IS_SET (error); -- cgit