summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-connection.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-26 14:37:41 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-26 16:30:50 +0100
commitb29452b531d9edadeb5558697c58c35ecf2f44c2 (patch)
treec48191112ae06a300dbcce0d2b23665f0e3cce19 /telepathy-glib/base-connection.c
parentb8b0af6611ffabc84ad992697e2ae6c87e3483d8 (diff)
downloadtelepathy-glib-b29452b531d9edadeb5558697c58c35ecf2f44c2.tar.gz
Use tp_value_array_free instead of g_value_array_free
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69849 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
Diffstat (limited to 'telepathy-glib/base-connection.c')
-rw-r--r--telepathy-glib/base-connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index 20c444013..c44027951 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -938,7 +938,7 @@ factory_satisfy_requests (TpBaseConnection *conn,
g_ptr_array_add (array, get_channel_details (G_OBJECT (chan)));
tp_svc_connection_interface_requests_emit_new_channels (conn, array);
- g_value_array_free (g_ptr_array_index (array, 0));
+ tp_value_array_free (g_ptr_array_index (array, 0));
g_ptr_array_unref (array);
tp_svc_connection_emit_new_channel (conn, object_path, channel_type,
@@ -1173,7 +1173,7 @@ manager_new_channels_cb (TpChannelManager *manager,
tp_svc_connection_interface_requests_emit_new_channels (self,
array);
- g_ptr_array_foreach (array, (GFunc) g_value_array_free, NULL);
+ g_ptr_array_foreach (array, (GFunc) tp_value_array_free, NULL);
g_ptr_array_unref (array);
/* Emit NewChannel */