diff options
author | Colin Walters <walters@verbum.org> | 2005-02-17 21:19:49 +0000 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2005-02-17 21:19:49 +0000 |
commit | 248895207dc15914ac7970a6d1431308075dca1d (patch) | |
tree | 3a70902ef3623a2b93d35bdc7daa9f966f9d414b /test/glib/test-profile.c | |
parent | dc12fac5f8a36d0276719bc5a98aa63bffe86399 (diff) |
2005-02-17 Colin Walters <walters@verbum.org>
* dbus/dbus-protocol.h (DBUS_SERVICE_ORG_FREEDESKTOP_DBUS):
Rename to DBUS_SERVICE_DBUS.
(DBUS_PATH_ORG_FREEDESKTOP_DBUS): Rename to DBUS_PATH_DBUS.
(DBUS_PATH_ORG_FREEDESKTOP_LOCAL): Rename to DBUS_PATH_LOCAL.
(DBUS_INTERFACE_ORG_FREEDESKTOP_DBUS): Rename to DBUS_INTERFACE_DBUS.
(DBUS_INTERFACE_ORG_FREEDESKTOP_INTROSPECTABLE): Rename to
DBUS_INTERFACE_INTROSPECTABLE.
(DBUS_INTERFACE_ORG_FREEDESKTOP_PROPERTIES): Rename to
DBUS_INTERFACE_PROPERTIES.
(DBUS_INTERFACE_ORG_FREEDESKTOP_PEER): Rename to
DBUS_INTERFACE_PEER.
(DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL):
DBUS_INTERFACE_LOCAL.
All other users of those constants have been changed.
* bus/driver.c (bus_driver_handle_introspect): Use constants.
* glib/dbus-gobject.c (handle_introspect): Use constants.
* doc/dbus-faq.xml, doc/dbus-specification.xml: Update for rename.
Diffstat (limited to 'test/glib/test-profile.c')
-rw-r--r-- | test/glib/test-profile.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/glib/test-profile.c b/test/glib/test-profile.c index 25d4eebb..ec0e4fd0 100644 --- a/test/glib/test-profile.c +++ b/test/glib/test-profile.c @@ -143,7 +143,7 @@ with_or_without_bus_client_filter (DBusConnection *connection, ClientData *cd) { if (dbus_message_is_signal (message, - DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL, + DBUS_INTERFACE_LOCAL, "Disconnected")) { g_printerr ("Client thread disconnected\n"); @@ -235,7 +235,7 @@ no_bus_server_filter (DBusConnection *connection, ServerData *sd = user_data; if (dbus_message_is_signal (message, - DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL, + DBUS_INTERFACE_LOCAL, "Disconnected")) { g_printerr ("Client disconnected from server\n"); @@ -411,16 +411,16 @@ with_bus_server_filter (DBusConnection *connection, WithBusServer *server = user_data; if (dbus_message_is_signal (message, - DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL, + DBUS_INTERFACE_LOCAL, "Disconnected")) { g_printerr ("Server disconnected from message bus\n"); exit (1); } else if (dbus_message_has_sender (message, - DBUS_SERVICE_ORG_FREEDESKTOP_DBUS) && + DBUS_SERVICE_DBUS) && dbus_message_is_signal (message, - DBUS_INTERFACE_ORG_FREEDESKTOP_DBUS, + DBUS_INTERFACE_DBUS, "NameOwnerChanged")) { const char *name, *old_owner, *new_owner; @@ -528,7 +528,7 @@ with_bus_init_server (ServerData *sd) 0, NULL); /* ignore errors because we suck */ rule = g_strdup_printf ("type='signal',sender='%s',member='%s'", - DBUS_SERVICE_ORG_FREEDESKTOP_DBUS, + DBUS_SERVICE_DBUS, "NameOwnerChanged"); /* ignore errors because we suck */ |