aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/action-chain.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/action-chain.c')
-rw-r--r--libempathy/action-chain.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy/action-chain.c b/libempathy/action-chain.c
index 30217ddc5..b6bf25ab9 100644
--- a/libempathy/action-chain.c
+++ b/libempathy/action-chain.c
@@ -137,6 +137,13 @@ _tpl_action_chain_continue (TplActionChain *self)
void
+_tpl_action_chain_clear (TplActionChain *self)
+{
+ g_queue_foreach (self->chain, (GFunc) link_free, NULL);
+ g_queue_clear (self->chain);
+}
+
+void
_tpl_action_chain_terminate (TplActionChain *self,
const GError *error)
{