summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-06-26 12:54:59 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-06-26 12:54:59 +0200
commit94bb7f4948a25a583c62ff61f6c66098a87820c5 (patch)
treed2f02cf6b80a9dcee03e0f4538fa02e9a8aec6e1
parentf8dbd199da1a7c4b3f67775ef854a00dd3cf109c (diff)
downloadtelepathy-glib-94bb7f4948a25a583c62ff61f6c66098a87820c5.tar.gz
TpBaseConnectionManagerClass: Seal protocol_params and new_connection members
Those 2 struct members are now deprecated and implementations should use TpBaseProtocol API instead.
-rw-r--r--telepathy-glib/base-connection-manager.c3
-rw-r--r--telepathy-glib/base-connection-manager.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/telepathy-glib/base-connection-manager.c b/telepathy-glib/base-connection-manager.c
index 241f5117b..4223318ee 100644
--- a/telepathy-glib/base-connection-manager.c
+++ b/telepathy-glib/base-connection-manager.c
@@ -229,7 +229,8 @@ _tp_legacy_protocol_new (TpBaseConnectionManager *cm,
*
* Changed in 0.11.11: protocol_params and new_connection may both be
* %NULL. If so, this connection manager is assumed to use Protocol objects
- * instead.
+ * instead. Since 0.UNRELEASED those fields are deprecated and should not be
+ * used anymore.
*/
/**
diff --git a/telepathy-glib/base-connection-manager.h b/telepathy-glib/base-connection-manager.h
index 8546e631c..6658c6924 100644
--- a/telepathy-glib/base-connection-manager.h
+++ b/telepathy-glib/base-connection-manager.h
@@ -67,8 +67,8 @@ struct _TpBaseConnectionManagerClass {
GObjectClass parent_class;
const char *cm_dbus_name;
- const TpCMProtocolSpec *protocol_params;
- TpBaseConnectionManagerNewConnFunc new_connection;
+ const TpCMProtocolSpec *_TP_SEAL (protocol_params);
+ TpBaseConnectionManagerNewConnFunc _TP_SEAL (new_connection);
const gchar * const *interfaces;