dconf/dconf-bus-get.patch

15 lines
658 B
Diff
Raw Normal View History

2011-01-17 19:48:35 +00:00
diff -up dconf-0.7/tests/dbus1.c.bus_get dconf-0.7/tests/dbus1.c
--- dconf-0.7/tests/dbus1.c.bus_get 2011-01-17 14:35:51.234171003 -0500
+++ dconf-0.7/tests/dbus1.c 2011-01-17 14:36:01.364171019 -0500
@@ -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,