From 288634908018e9f680758f2a1ef847fb5415507b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 24 Jun 2011 10:27:48 +0200 Subject: [PATCH] simple-channel-request: export tp_tests_simple_channel_request_dup_immutable_props() --- tests/lib/simple-channel-request.c | 7 ++++--- tests/lib/simple-channel-request.h | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/lib/simple-channel-request.c b/tests/lib/simple-channel-request.c index 7f53ef7..7085d8a 100644 --- a/tests/lib/simple-channel-request.c +++ b/tests/lib/simple-channel-request.c @@ -115,8 +115,9 @@ free_channel_details (gpointer data, g_boxed_free (TP_STRUCT_TYPE_CHANNEL_DETAILS, data); } -static GHashTable * -dup_immutable_props (TpTestsSimpleChannelRequest *self) +GHashTable * +tp_tests_simple_channel_request_dup_immutable_props ( + TpTestsSimpleChannelRequest *self) { return tp_asv_new ( TP_PROP_CHANNEL_REQUEST_ACCOUNT, DBUS_TYPE_G_OBJECT_PATH, @@ -228,7 +229,7 @@ tp_tests_simple_channel_request_proceed (TpSvcChannelRequest *request, g_free, (GDestroyNotify) g_hash_table_unref); g_hash_table_insert (request_props, g_strdup (self->priv->path), - dup_immutable_props (self)); + tp_tests_simple_channel_request_dup_immutable_props (self)); info = tp_asv_new ( "request-properties", TP_HASH_TYPE_OBJECT_IMMUTABLE_PROPERTIES_MAP, diff --git a/tests/lib/simple-channel-request.h b/tests/lib/simple-channel-request.h index 371e9e2..85c12f8 100644 --- a/tests/lib/simple-channel-request.h +++ b/tests/lib/simple-channel-request.h @@ -63,6 +63,9 @@ tp_tests_simple_channel_request_new (const gchar *path, GPtrArray *requests, GHashTable *hints); +GHashTable * tp_tests_simple_channel_request_dup_immutable_props ( + TpTestsSimpleChannelRequest *self); + G_END_DECLS #endif /* #ifndef __TP_TESTS_SIMPLE_CHANNEL_REQUEST_H__ */ -- 1.7.4.1