]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
2004-06-09 Olivier Andrieu <oliv__a@users.sourceforge.net>
authorOlivier Andrieu <oliv__a@users.sourceforge.net>
Wed, 9 Jun 2004 18:15:10 +0000 (18:15 +0000)
committerOlivier Andrieu <oliv__a@users.sourceforge.net>
Wed, 9 Jun 2004 18:15:10 +0000 (18:15 +0000)
* bus/driver.c, dbus/dbus-bus.c: use BOOLEAN instead of UINT32 for
the reply value of the ServiceExists message.

ChangeLog
bus/driver.c
dbus/dbus-bus.c

index 8b749fc0bd993ea22b4c10a48a24eb67b58fdb83..cf58858d2d6448dcdd7c84b176f72eb04e85bd94 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 9b4444867329d4fae0034164cf0b2440362bc9bd..2b65a4c282f9fa9dc19b2e609fa037994c3fa4d4 100644 (file)
@@ -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);
index ea6a8bb5b39179cefb7028c7cf94a7ceb07676eb..7dfe5264fd3c08de49148e08a6641cccdacde59e 100644 (file)
@@ -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);