From 2e5f4045ad724d95285146726e5c42bfdb846fd7 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 14 Apr 2014 14:17:45 -0400 Subject: Fix a few outdated doc --- telepathy-glib/base-connection.c | 15 +++++---------- telepathy-glib/base-contact-list.c | 28 ++++++---------------------- 2 files changed, 11 insertions(+), 32 deletions(-) diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c index 9ac6fbe63..3d284a6e1 100644 --- a/telepathy-glib/base-connection.c +++ b/telepathy-glib/base-connection.c @@ -22,17 +22,12 @@ /** * SECTION:base-connection * @title: TpBaseConnection - * @short_description: base class for #TpSvcConnection implementations - * @see_also: #TpBaseConnectionManager, #TpSvcConnection + * @short_description: base class for core Connection D-Bus interfaces + * implementation + * @see_also: #TpBaseConnectionManager, #TpBaseContactList, #TpPresenceMixin * - * This base class makes it easier to write #TpSvcConnection implementations + * This base class makes it easier to write Connection implementations * by managing connection status, channel managers and handle tracking. - * A subclass should often not need to implement any of the Connection - * methods itself. - * - * However, methods may be reimplemented if needed: for instance, Gabble - * overrides RequestHandles so it can validate MUC rooms, which must be done - * asynchronously. */ /** @@ -166,7 +161,7 @@ /** * TpBaseConnection: * - * Data structure representing a generic #TpSvcConnection implementation. + * Data structure representing a generic connection implementation. * */ diff --git a/telepathy-glib/base-contact-list.c b/telepathy-glib/base-contact-list.c index 6fca75d94..196583237 100644 --- a/telepathy-glib/base-contact-list.c +++ b/telepathy-glib/base-contact-list.c @@ -51,14 +51,9 @@ * * Connection managers should subclass #TpBaseContactList, implementing the * virtual methods for core functionality in #TpBaseContactListClass. - * Then, in the connection manager's #TpBaseConnection subclass: - * - * - * - * in the #TpBaseConnectionClass.fill_contact_attributes - * implementation, call tp_base_contact_list_fill_contact_attributes() - * and do not chain up if it returns %TRUE: - * + * Then, in the #TpBaseConnectionClass.fill_contact_attributes implementation, + * call tp_base_contact_list_fill_contact_attributes() and do not chain up if it + * returns %TRUE: * |[ * // ... * if (!tp_strdiff (dbus_interface, MY_IFACE_CONNECTION_INTERFACE_HATS)) @@ -76,22 +71,11 @@ * ((TpBaseConnectionClass *) my_connection_parent_class)-> * fill_contact_attributes (self, dbus_interface, contact, attributes); * ]| - * - * - * include %TP_IFACE_CONNECTION_INTERFACE_CONTACT_LIST1 in - * the output of - * #TpBaseConnectionClass.get_interfaces_always_present - * - * - * - * To support user-defined contact groups too, additionally implement - * %TP_TYPE_CONTACT_GROUP_LIST in the #TpBaseContactList subclass, add the - * %TP_IFACE_CONNECTION_INTERFACE_CONTACT_GROUPS1 interface to the output of - * #TpBaseConnectionClass.get interfaces_always_present. * * Optionally, one or more of the #TP_TYPE_MUTABLE_CONTACT_LIST, - * #TP_TYPE_MUTABLE_CONTACT_GROUP_LIST, and #TP_TYPE_BLOCKABLE_CONTACT_LIST - * GObject interfaces may also be implemented, as appropriate to the protocol. + * #TP_TYPE_CONTACT_GROUP_LIST, #TP_TYPE_MUTABLE_CONTACT_GROUP_LIST, and + * #TP_TYPE_BLOCKABLE_CONTACT_LIST GObject interfaces may also be implemented, + * as appropriate to the protocol. * * Since: 0.13.0 */ -- cgit v1.2.3