summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-bus.c
diff options
context:
space:
mode:
authorOlivier Andrieu <oliv__a@users.sourceforge.net>2004-06-09 18:15:10 +0000
committerOlivier Andrieu <oliv__a@users.sourceforge.net>2004-06-09 18:15:10 +0000
commit7da40340f35b26b83342482aeceacc8ff2d01166 (patch)
treece388f899c05c30691658b2d240be6dbf74e06a9 /dbus/dbus-bus.c
parent118f72cd0c980820c5e64f224aab8da0a3c406cf (diff)
2004-06-09 Olivier Andrieu <oliv__a@users.sourceforge.net>
* bus/driver.c, dbus/dbus-bus.c: use BOOLEAN instead of UINT32 for the reply value of the ServiceExists message.
Diffstat (limited to 'dbus/dbus-bus.c')
-rw-r--r--dbus/dbus-bus.c4
1 files changed, 1 insertions, 3 deletions
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);