Commit 7da40340 authored by Olivier Andrieu's avatar Olivier Andrieu
Browse files

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.
parent 118f72cd
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.
2004-06-07 John (J5) Palmieri <johnp@redhat.com>
* python/dbus_bindings.pyx.in: No longer need to parse path
......
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment