diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-04 13:40:26 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-10 09:22:36 +0200 |
commit | 96efda8744108e7a1b2ab852df5bc7fad4dd4560 (patch) | |
tree | 9a24ac18bad729ef9e1e78b0a00b1d40574053be /examples/client | |
parent | cbaeea3ab904fe8ff8cde5b2d13d23f4d790b21b (diff) |
examples/client/approver.c: use tp_channel_dispatch_operation_claim_with_async()
Diffstat (limited to 'examples/client')
-rw-r--r-- | examples/client/approver.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/client/approver.c b/examples/client/approver.c index f100f52cd..1a48fcedc 100644 --- a/examples/client/approver.c +++ b/examples/client/approver.c @@ -59,7 +59,7 @@ claim_cb (GObject *source, GPtrArray *channels; guint i; - if (!tp_channel_dispatch_operation_claim_finish (cdo, result, &error)) + if (!tp_channel_dispatch_operation_claim_with_finish (cdo, result, &error)) { g_print ("Claim() failed: %s\n", error->message); g_error_free (error); @@ -137,7 +137,8 @@ add_dispatch_operation_cb (TpSimpleApprover *self, { g_print ("Dissaprove channels\n"); - tp_channel_dispatch_operation_claim_async (cdo, claim_cb, NULL); + tp_channel_dispatch_operation_claim_with_async (cdo, + TP_BASE_CLIENT (self), claim_cb, NULL); } else { |