diff options
-rw-r--r-- | examples/client/dbus-tubes/offerer.c | 2 | ||||
-rw-r--r-- | examples/client/stream-tubes/offerer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/client/dbus-tubes/offerer.c b/examples/client/dbus-tubes/offerer.c index 580655df6..9ff053fad 100644 --- a/examples/client/dbus-tubes/offerer.c +++ b/examples/client/dbus-tubes/offerer.c @@ -193,7 +193,7 @@ main (int argc, if (argc != 3) g_error ("Usage: offerer gabble/jabber/ladygaga t-pain@example.com"); - factory = tp_simple_client_factory_new (NULL); + factory = TP_SIMPLE_CLIENT_FACTORY (tp_automatic_client_factory_new (NULL)); account_path = g_strconcat (TP_ACCOUNT_OBJECT_PATH_BASE, argv[1], NULL); account = tp_simple_client_factory_ensure_account (factory, account_path, diff --git a/examples/client/stream-tubes/offerer.c b/examples/client/stream-tubes/offerer.c index dee9322cc..85e14a7b6 100644 --- a/examples/client/stream-tubes/offerer.c +++ b/examples/client/stream-tubes/offerer.c @@ -144,7 +144,7 @@ main (int argc, g_type_init (); - factory = tp_simple_client_factory_new (NULL); + factory = TP_SIMPLE_CLIENT_FACTORY (tp_automatic_client_factory_new (NULL)); account_path = g_strconcat (TP_ACCOUNT_OBJECT_PATH_BASE, argv[1], NULL); account = tp_simple_client_factory_ensure_account (factory, account_path, |