summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVivek Dasmohapatra <vivek@collabora.co.uk>2009-07-01 11:51:25 +0100
committerVivek Dasmohapatra <vivek@collabora.co.uk>2009-07-14 17:54:33 +0100
commitd72b9ccf7a0cc8408d6f28264b288137a7bac1e0 (patch)
treeb60056fc4f8f50b3dc515a0cbb90febfa64684e0 /examples
parent152fe152ab7ccb0bdff1ef3b3b3fbdbbe52a5502 (diff)
Removed header signature for dead function wocky_connector_new_full
Allow resource to be set in wocky_connector_new as it is CONSTRUCT_ONLY now. Update example connect,c to match new API.
Diffstat (limited to 'examples')
-rw-r--r--examples/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/connect.c b/examples/connect.c
index 39e5f7b..e780a35 100644
--- a/examples/connect.c
+++ b/examples/connect.c
@@ -380,7 +380,7 @@ main (int argc,
if (!strcmp ("connector",type))
{
WockyConnector *wcon = NULL;
- wcon = wocky_connector_new (argv[1], argv[2]);
+ wcon = wocky_connector_new (argv[1], argv[2], NULL);
wocky_connector_connect_async (wcon, connector_callback, NULL);
g_main_loop_run (mainloop);