summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2010-09-14 19:27:57 +0200
committerCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2010-09-14 19:27:57 +0200
commit87a64d465283ab01baceca9aefbb15a80b391b7f (patch)
treec129055b40dddfd37146f664527e161f629baf3c /examples
parent66689d2b261e442cdec52a42acd259beb2f0ed00 (diff)
Update examples and tests to new APIwocky-0.10.0
Diffstat (limited to 'examples')
-rw-r--r--examples/connect.c2
-rw-r--r--examples/register.c2
-rw-r--r--examples/unregister.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/connect.c b/examples/connect.c
index c502a87..a1fc43b 100644
--- a/examples/connect.c
+++ b/examples/connect.c
@@ -401,7 +401,7 @@ main (int argc,
wocky_init ();
wcon = wocky_connector_new (argv[1], argv[2], NULL, NULL, NULL);
- wocky_connector_connect_async (wcon, connector_callback, NULL);
+ wocky_connector_connect_async (wcon, NULL, connector_callback, NULL);
g_main_loop_run (mainloop);
return 0;
diff --git a/examples/register.c b/examples/register.c
index 9f89816..97374cf 100644
--- a/examples/register.c
+++ b/examples/register.c
@@ -74,7 +74,7 @@ main (int argc,
"xmpp-server", host, NULL);
g_object_set (G_OBJECT (wcon), "email", email, NULL);
- wocky_connector_register_async (wcon, connector_callback, NULL);
+ wocky_connector_register_async (wcon, NULL, connector_callback, NULL);
g_main_loop_run (mainloop);
return 0;
diff --git a/examples/unregister.c b/examples/unregister.c
index b6b7eb9..0f8211e 100644
--- a/examples/unregister.c
+++ b/examples/unregister.c
@@ -69,7 +69,7 @@ main (int argc,
"password" , pass,
"xmpp-server", host, NULL);
- wocky_connector_unregister_async (wcon, unregister_callback, NULL);
+ wocky_connector_unregister_async (wcon, NULL, unregister_callback, NULL);
g_main_loop_run (mainloop);
return rval;