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. --- dbus/dbus-bus.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dbus/dbus-bus.c') 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