[Telepathy-commits] [telepathy-glib/master] Require use of _set_self_handle() when connection has dbus properties

Will Thompson will.thompson at collabora.co.uk
Fri Aug 29 02:38:36 PDT 2008


---
 telepathy-glib/base-connection.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index 66be103..dc47eaf 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -1850,6 +1850,11 @@ static TpDBusPropertiesMixinPropImpl connection_properties[] = {
  * using the D-Bus properties mixin.  The D-Bus properties mixin should be
  * initialized before this function is called, and this function must only
  * be called once.
+ *
+ * Having called this function, you must use
+ * tp_base_connection_set_self_handle() rather than modifying the self_handle
+ * field directly so that changes to the self handle can be correctly
+ * signalled on the bus.
  */
 void
 tp_base_connection_class_register_with_dbus_properties_mixin (GObjectClass *cls)
-- 
1.5.6.3




More information about the Telepathy-commits mailing list