diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | bus/driver.c | 2 | ||||
| -rw-r--r-- | dbus/dbus-bus.c | 4 | 
3 files changed, 7 insertions, 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 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);  | 
