diff options
Diffstat (limited to 'tests/dbus/test-tpl-log-store-sqlite.c')
-rw-r--r-- | tests/dbus/test-tpl-log-store-sqlite.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/dbus/test-tpl-log-store-sqlite.c b/tests/dbus/test-tpl-log-store-sqlite.c index f23e832..b531d96 100644 --- a/tests/dbus/test-tpl-log-store-sqlite.c +++ b/tests/dbus/test-tpl-log-store-sqlite.c @@ -12,6 +12,7 @@ main (int argc, char **argv) TpDBusDaemon *bus; TpAccount *account; GError *error = NULL; + TpClientFactory *factory; g_type_init (); @@ -20,9 +21,11 @@ main (int argc, char **argv) bus = tp_dbus_daemon_dup (&error); g_assert_no_error (error); - account = tp_account_new (bus, + factory = tp_automatic_client_factory_new (bus); + + account = tp_client_factory_ensure_account (factory, TP_ACCOUNT_OBJECT_PATH_BASE "gabble/jabber/danielle_2emadeley_40collabora_2eco_2euk0", - &error); + NULL, &error); g_assert_no_error (error); store = _tpl_log_store_sqlite_dup (); @@ -33,5 +36,6 @@ main (int argc, char **argv) g_object_unref (store); g_object_unref (account); + g_object_unref (factory); g_object_unref (bus); } |