mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-16 03:50:27 +01:00
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.
This commit is contained in:
parent
118f72cd0c
commit
7da40340f3
3 changed files with 7 additions and 4 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue