[dconf] Avoid using -ldbus-1 symbols in the test case



commit b322a4c1c472a1838331efd053e17a877204dc29
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Jan 17 14:36:37 2011 -0500

    Avoid using -ldbus-1 symbols in the test case
    
    ...since we don't link to it.

 tests/dbus1.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/tests/dbus1.c b/tests/dbus1.c
index ea54182..1220160 100644
--- a/tests/dbus1.c
+++ b/tests/dbus1.c
@@ -184,9 +184,7 @@ setup (void)
 
   g_setenv ("DCONF_PROFILE", "test", false);
 
-  backend = dconf_dbus_client_new ("test",
-                                   dbus_bus_get (DBUS_BUS_SYSTEM, 0),
-                                   dbus_bus_get (DBUS_BUS_SESSION, 0));
+  backend = dconf_dbus_client_new ("test", NULL, NULL);
   dconf_dbus_client_subscribe (backend, "/", watch_func, NULL);
 
   implicit = g_hash_table_new_full (g_str_hash, g_str_equal,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]