summaryrefslogtreecommitdiff
path: root/telepathy-logger/channel-text.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-21 11:55:30 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-26 12:35:22 +0200
commit8355f2665b51e9cce63b53f5164d354a99cae5eb (patch)
treeab6cef647f13523c20f210b6504941672f8651ad /telepathy-logger/channel-text.c
parent8f4a9064de8184fb3785b458d51ebef9abc396df (diff)
downloadtelepathy-logger-8355f2665b51e9cce63b53f5164d354a99cae5eb.tar.gz
rename _tpl_action_chain_new to fit async/finish conventions
Diffstat (limited to 'telepathy-logger/channel-text.c')
-rw-r--r--telepathy-logger/channel-text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-logger/channel-text.c b/telepathy-logger/channel-text.c
index 9a1563f..b472c5d 100644
--- a/telepathy-logger/channel-text.c
+++ b/telepathy-logger/channel-text.c
@@ -477,7 +477,7 @@ tpl_channel_text_call_when_ready (TplChannelText *self,
* If for any reason, the order is changed, it's needed to check what objects
* are unreferenced by g_object_unref but used by a next action AND what object are actually not
* prepared but used anyway */
- actions = _tpl_action_chain_new (G_OBJECT (self), cb, user_data);
+ actions = _tpl_action_chain_new_async (G_OBJECT (self), cb, user_data);
_tpl_action_chain_append (actions, pendingproc_prepare_tpl_channel, NULL);
_tpl_action_chain_append (actions, pendingproc_connect_signals, NULL);
_tpl_action_chain_append (actions, pendingproc_get_my_contact, NULL);
@@ -508,7 +508,7 @@ got_tpl_chan_ready_cb (GObject *obj,
TplActionChain *ctx = user_data;
/* if TplChannel preparation is OK, keep on with the TplChannelText */
- if (_tpl_action_chain_finish (tpl_chan_result))
+ if (_tpl_action_chain_new_finish (tpl_chan_result))
_tpl_action_chain_continue (ctx);
else
_tpl_action_chain_terminate (ctx);