summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorten Mjelva <morten.mjelva@gmail.com>2011-06-17 16:52:34 +0100
committerMorten Mjelva <morten.mjelva@gmail.com>2011-06-19 12:49:03 +0100
commit7a9a30157c677642defe92624e4e83846751d678 (patch)
tree7ba60b7273e4f52bd401bca740c6232733800d6d
parentb4f5c4d04f96d7feead8722c480a531b5cfdc294 (diff)
Make service-side stream tube use _tp_destroy_socket_control_listutiltrivia
-rw-r--r--tests/lib/stream-tube-chan.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/lib/stream-tube-chan.c b/tests/lib/stream-tube-chan.c
index 4e0e41cc..578c1afb 100644
--- a/tests/lib/stream-tube-chan.c
+++ b/tests/lib/stream-tube-chan.c
@@ -56,13 +56,6 @@ struct _TpTestsStreamTubeChannelPrivate {
};
static void
-destroy_socket_control_list (gpointer data)
-{
- GArray *tab = data;
- g_array_free (tab, TRUE);
-}
-
-static void
create_supported_socket_types (TpTestsStreamTubeChannel *self)
{
TpSocketAccessControl access_control;
@@ -70,7 +63,7 @@ create_supported_socket_types (TpTestsStreamTubeChannel *self)
g_assert (self->priv->supported_socket_types == NULL);
self->priv->supported_socket_types = g_hash_table_new_full (NULL, NULL,
- NULL, destroy_socket_control_list);
+ NULL, _tp_destroy_socket_control_list);
/* Socket_Address_Type_Unix */
unix_tab = g_array_sized_new (FALSE, FALSE, sizeof (TpSocketAccessControl),