[next] telepathy-glib: remove TpProtocol:protocol-properties
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Mon Mar 17 07:25:41 PDT 2014
Module: telepathy-glib
Branch: next
Commit: 653da48f5fe77c95dd848f37298845fe430c0cd3
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=653da48f5fe77c95dd848f37298845fe430c0cd3
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Thu Mar 6 14:19:33 2014 +0100
remove TpProtocol:protocol-properties
---
telepathy-glib/protocol.c | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/telepathy-glib/protocol.c b/telepathy-glib/protocol.c
index 0d73031..561429e 100644
--- a/telepathy-glib/protocol.c
+++ b/telepathy-glib/protocol.c
@@ -157,7 +157,6 @@ struct _TpProtocolPrivate
enum
{
PROP_PROTOCOL_NAME = 1,
- PROP_PROTOCOL_PROPERTIES,
PROP_PROTOCOL_PROPERTIES_VARDICT,
PROP_ENGLISH_NAME,
PROP_VCARD_FIELD,
@@ -252,11 +251,6 @@ tp_protocol_get_property (GObject *object,
g_value_set_string (value, self->priv->name);
break;
- case PROP_PROTOCOL_PROPERTIES:
- g_value_take_boxed (value,
- tp_asv_from_vardict (self->priv->protocol_properties));
- break;
-
case PROP_PROTOCOL_PROPERTIES_VARDICT:
g_value_take_variant (value,
tp_protocol_dup_immutable_properties (self));
@@ -690,26 +684,6 @@ tp_protocol_class_init (TpProtocolClass *klass)
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
- * TpProtocol:protocol-properties:
- *
- * The immutable properties of this Protocol, as provided at construction
- * time. This is a map from string to #GValue, which must not be modified.
- *
- * If the immutable properties were not provided at construction time,
- * the %TP_PROTOCOL_FEATURE_PARAMETERS and %TP_PROTOCOL_FEATURE_CORE features
- * will both be unavailable, and this #TpProtocol object will only be useful
- * as a way to access lower-level D-Bus calls.
- *
- * Since: 0.11.11
- */
- g_object_class_install_property (object_class, PROP_PROTOCOL_PROPERTIES,
- g_param_spec_boxed ("protocol-properties",
- "Protocol properties",
- "The immutable properties of this Protocol",
- TP_HASH_TYPE_QUALIFIED_PROPERTY_VALUE_MAP,
- G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
-
- /**
* TpProtocol:protocol-properties-vardict:
*
* The immutable properties of this Protocol, as provided at construction
More information about the telepathy-commits
mailing list