diff options
author | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2011-11-18 12:40:33 +0000 |
---|---|---|
committer | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2011-11-18 14:27:27 +0000 |
commit | c2f47ed09bad710912c8674320c36a89b0026a05 (patch) | |
tree | 1838e445be11d5d746eba126e394fea5c70f6111 | |
parent | 6b705626d17f05552e518107afbca35012c12b73 (diff) | |
download | telepathy-logger-c2f47ed09bad710912c8674320c36a89b0026a05.tar.gz |
Replace g_array_free with g_array_unref
-rw-r--r-- | telepathy-logger/call-channel.c | 6 | ||||
-rw-r--r-- | telepathy-logger/streamed-media-channel.c | 2 | ||||
-rw-r--r-- | 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); } } |