summaryrefslogtreecommitdiff
path: root/wocky/wocky-pep-service.c
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2010-09-23 14:22:11 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2010-10-04 12:42:48 -0400
commit3d8bd1bd1e3857f1a14dbba92a8fe6bf7f790054 (patch)
treedaaf59c6ff4b270485867a3cffb057e47d4e34f6 /wocky/wocky-pep-service.c
parent1b2804c9fd2d46bdc01a43a004183ea1c5d8957d (diff)
GSimpleAsyncResult source tags should be _async
This makes Wocky closer to GAsyncResult conventions by using the _async function as source tag instead of _finish. (Bug #26770)
Diffstat (limited to 'wocky/wocky-pep-service.c')
-rw-r--r--wocky/wocky-pep-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wocky/wocky-pep-service.c b/wocky/wocky-pep-service.c
index 8146937..00265fb 100644
--- a/wocky/wocky-pep-service.c
+++ b/wocky/wocky-pep-service.c
@@ -330,7 +330,7 @@ wocky_pep_service_get_async (WockyPepService *self,
')', NULL);
result = g_simple_async_result_new (G_OBJECT (self),
- callback, user_data, wocky_pep_service_get_finish);
+ callback, user_data, wocky_pep_service_get_async);
wocky_porter_send_iq_async (priv->porter, msg, cancellable, send_query_cb,
result);
@@ -349,7 +349,7 @@ wocky_pep_service_get_finish (WockyPepService *self,
return NULL;
g_return_val_if_fail (g_simple_async_result_is_valid (result,
- G_OBJECT (self), wocky_pep_service_get_finish), NULL);
+ G_OBJECT (self), wocky_pep_service_get_async), NULL);
return g_object_ref (g_simple_async_result_get_op_res_gpointer (simple));
}