[next] telepathy-glib: remove tp_channel_request_get_immutable_properties( )
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Thu Feb 27 06:07:35 PST 2014
Module: telepathy-glib
Branch: next
Commit: 97099ae5f5ff23f48354f76af327ca6d404797a9
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=97099ae5f5ff23f48354f76af327ca6d404797a9
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Wed Feb 19 11:13:49 2014 +0100
remove tp_channel_request_get_immutable_properties()
---
.../telepathy-glib/telepathy-glib-sections.txt | 1 -
telepathy-glib/channel-request.c | 19 -------------------
telepathy-glib/channel-request.h | 3 ---
tests/dbus/channel-request.c | 3 ---
4 files changed, 26 deletions(-)
diff --git a/docs/reference/telepathy-glib/telepathy-glib-sections.txt b/docs/reference/telepathy-glib/telepathy-glib-sections.txt
index 0e0b225..38d67f8 100644
--- a/docs/reference/telepathy-glib/telepathy-glib-sections.txt
+++ b/docs/reference/telepathy-glib/telepathy-glib-sections.txt
@@ -4322,7 +4322,6 @@ tp_channel_dispatch_operation_get_feature_quark_core
TpChannelRequest
TpChannelRequestClass
tp_channel_request_init_known_interfaces
-tp_channel_request_get_immutable_properties
tp_channel_request_dup_immutable_properties
tp_channel_request_get_account
tp_channel_request_get_user_action_time
diff --git a/telepathy-glib/channel-request.c b/telepathy-glib/channel-request.c
index 6867226..5903dc1 100644
--- a/telepathy-glib/channel-request.c
+++ b/telepathy-glib/channel-request.c
@@ -543,25 +543,6 @@ _tp_channel_request_new_with_factory (TpClientFactory *factory,
}
/**
- * tp_channel_request_get_immutable_properties:
- * @self: a #TpChannelRequest
- *
- * Return the #TpChannelRequest:immutable-properties construct-only property
- *
- * Returns: (transfer none): the value of
- * #TpChannelRequest:immutable-properties
- *
- * Since: 0.13.14
- */
-const GHashTable *
-tp_channel_request_get_immutable_properties (TpChannelRequest *self)
-{
- g_return_val_if_fail (TP_IS_CHANNEL_REQUEST (self), NULL);
-
- return self->priv->immutable_properties;
-}
-
-/**
* tp_channel_request_dup_immutable_properties:
* @self: a #TpChannelRequest
*
diff --git a/telepathy-glib/channel-request.h b/telepathy-glib/channel-request.h
index fdad138..2088ede 100644
--- a/telepathy-glib/channel-request.h
+++ b/telepathy-glib/channel-request.h
@@ -71,9 +71,6 @@ GType tp_channel_request_get_type (void);
void tp_channel_request_init_known_interfaces (void);
-const GHashTable * tp_channel_request_get_immutable_properties (
- TpChannelRequest *self);
-
_TP_AVAILABLE_IN_0_20
GVariant *tp_channel_request_dup_immutable_properties (TpChannelRequest *self);
diff --git a/tests/dbus/channel-request.c b/tests/dbus/channel-request.c
index 472b266..16c37f3 100644
--- a/tests/dbus/channel-request.c
+++ b/tests/dbus/channel-request.c
@@ -350,9 +350,6 @@ test_immutable_properties (Test *test,
g_hash_table_unref (props);
- props = (GHashTable *) tp_channel_request_get_immutable_properties (test->cr);
- g_assert_cmpuint (tp_asv_get_uint32 (props, "badger", NULL), ==, 42);
-
g_object_get (test->cr, "immutable-properties", &props, NULL);
g_assert_cmpuint (tp_asv_get_uint32 (props, "badger", NULL), ==, 42);
More information about the telepathy-commits
mailing list