From c2f47ed09bad710912c8674320c36a89b0026a05 Mon Sep 17 00:00:00 2001 From: Cosimo Alfarano Date: Fri, 18 Nov 2011 12:40:33 +0000 Subject: Replace g_array_free with g_array_unref --- telepathy-logger/call-channel.c | 6 +++--- telepathy-logger/streamed-media-channel.c | 2 +- telepathy-logger/text-channel.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/telepathy-logger/call-channel.c b/telepathy-logger/call-channel.c index 4dbc142..5b0fa12 100644 --- a/telepathy-logger/call-channel.c +++ b/telepathy-logger/call-channel.c @@ -244,11 +244,11 @@ get_call_members_cb (TpProxy *proxy, G_N_ELEMENTS (features), features, get_remote_contacts_cb, ctx, NULL, G_OBJECT (self)); - g_array_free (arr, TRUE); + g_array_unref (arr); } else { - g_array_free (arr, TRUE); + g_array_unref (arr); _tpl_action_chain_continue (ctx); } } @@ -450,7 +450,7 @@ call_members_changed_cb (DBusGProxy *proxy, G_OBJECT (self)); } - g_array_free (added, TRUE); + g_array_unref (added); } diff --git a/telepathy-logger/streamed-media-channel.c b/telepathy-logger/streamed-media-channel.c index 15d831d..32ba65e 100644 --- a/telepathy-logger/streamed-media-channel.c +++ b/telepathy-logger/streamed-media-channel.c @@ -170,7 +170,7 @@ pendingproc_get_remote_contacts (TplActionChain *ctx, G_N_ELEMENTS (features), features, get_remote_contact_cb, ctx, NULL, G_OBJECT (self)); - g_array_free (arr, TRUE); + g_array_unref (arr); } diff --git a/telepathy-logger/text-channel.c b/telepathy-logger/text-channel.c index 9761575..622cb12 100644 --- a/telepathy-logger/text-channel.c +++ b/telepathy-logger/text-channel.c @@ -274,7 +274,7 @@ pendingproc_get_remote_contact (TplActionChain *ctx, G_N_ELEMENTS (features), features, get_remote_contact_cb, ctx, NULL, G_OBJECT (self)); - g_array_free (arr, TRUE); + g_array_unref (arr); } } -- cgit v1.2.1