summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection-internal.h
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-16 18:43:33 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-16 18:45:13 +0200
commit7b7fad6ef2d9211489891c66d497b4b720d1b53c (patch)
treed32d97377a400ba966ae1c1403ff8af1638ed71e /telepathy-glib/connection-internal.h
parenta75257708a4766a5e1fcbf19d1d7d5bf588eab91 (diff)
downloadtelepathy-glib-7b7fad6ef2d9211489891c66d497b4b720d1b53c.tar.gz
connection-internal.h Add warning comment for APIs that should not be used outside contact.c
Diffstat (limited to 'telepathy-glib/connection-internal.h')
-rw-r--r--telepathy-glib/connection-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/telepathy-glib/connection-internal.h b/telepathy-glib/connection-internal.h
index 65a7376ae..5cfb63b44 100644
--- a/telepathy-glib/connection-internal.h
+++ b/telepathy-glib/connection-internal.h
@@ -137,6 +137,8 @@ void _tp_connection_get_capabilities_async (TpConnection *self,
gboolean _tp_connection_get_capabilities_finish (TpConnection *self,
GAsyncResult *result, GError **error);
+/* Those functions should be used only from contact.c, they are risky since they
+ * could operate on incomplete contacts */
void _tp_connection_add_contact (TpConnection *self, TpHandle handle,
TpContact *contact);
void _tp_connection_remove_contact (TpConnection *self, TpHandle handle,