diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2005-06-02 18:22:04 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2005-06-02 18:22:04 +0000 |
commit | f03c0af1c7cf075111748b60e5dc22bcafe15ac8 (patch) | |
tree | 6e525cc770ca2fdeb00f6b707d24fbc2f1660bbe /test | |
parent | 11fd3b965f9c8dc062913d82d6a2cf73b6ba0bda (diff) |
* tools/dbus-send.c (main):
s/dbus_connection_disconnect/dbus_connection_close
* test/glib/test-profile.c (no_bus_thread_func, with_bus_thread_func):
s/dbus_connection_disconnect/dbus_connection_close
* test/test-service.c (path_message_func, filter_func):
s/dbus_connection_disconnect/dbus_connection_close
Diffstat (limited to 'test')
-rw-r--r-- | test/glib/test-profile.c | 4 | ||||
-rw-r--r-- | test/test-service.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/glib/test-profile.c b/test/glib/test-profile.c index f23c7e26..ea42bd08 100644 --- a/test/glib/test-profile.c +++ b/test/glib/test-profile.c @@ -219,7 +219,7 @@ no_bus_thread_func (void *data) g_printerr ("Client thread %p exiting main loop\n", g_thread_self()); - dbus_connection_disconnect (connection); + dbus_connection_close (connection); g_main_loop_unref (cd.loop); g_main_context_unref (context); @@ -396,7 +396,7 @@ with_bus_thread_func (void *data) g_printerr ("Client thread %p exiting main loop\n", g_thread_self()); - dbus_connection_disconnect (connection); + dbus_connection_close (connection); g_main_loop_unref (cd.loop); g_main_context_unref (context); diff --git a/test/test-service.c b/test/test-service.c index 040a0300..703595e4 100644 --- a/test/test-service.c +++ b/test/test-service.c @@ -92,7 +92,7 @@ path_message_func (DBusConnection *connection, "org.freedesktop.TestSuite", "Exit")) { - dbus_connection_disconnect (connection); + dbus_connection_close (connection); quit (); return DBUS_HANDLER_RESULT_HANDLED; } @@ -146,7 +146,7 @@ filter_func (DBusConnection *connection, DBUS_INTERFACE_LOCAL, "Disconnected")) { - dbus_connection_disconnect (connection); + dbus_connection_close (connection); quit (); return DBUS_HANDLER_RESULT_HANDLED; } |