diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-01 10:44:04 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-01 13:05:05 +0100 |
commit | ebeeb38ed7c800a4b3fa34a3c9e4363580bc833d (patch) | |
tree | 7cccfb924dfc5614bf52af277863ecbe4f5e6376 | |
parent | 6a0e61e8d7fdda7fb6d30ae02de34f7638c3100d (diff) |
improve TP_CONNECTION_FEATURE_CONTACT_BLOCKING
-rw-r--r-- | telepathy-glib/connection-contact-list.c | 11 | ||||
-rw-r--r-- | telepathy-glib/connection.c | 4 |
2 files changed, 8 insertions, 7 deletions
diff --git a/telepathy-glib/connection-contact-list.c b/telepathy-glib/connection-contact-list.c index 871f39ac..754e438f 100644 --- a/telepathy-glib/connection-contact-list.c +++ b/telepathy-glib/connection-contact-list.c @@ -1516,13 +1516,10 @@ tp_connection_unblock_contacts_finish (TpConnection *self, * Expands to a call to a function that returns a #GQuark representing the * "contact-blocking" feature. * - * When this feature is prepared, the #TpConnection:can-report-abusive and - * #TpConnection:blocked-contacts properties of the Connection have been - * retrieved. The #TpContact objects from #TpConnection:blocked-contacts - * have been prepared with the desired features. See - * tp_connection_dup_contact_list() to get the list of contacts, and - * tp_simple_client_factory_add_contact_features() to define which features - * needs to be prepared on them. + * When this feature is prepared, #TpConnection:blocked-contacts will contain an + * up-to-date list of #TpContact<!-- -->s the user has blocked, and + * #TpConnection:can-report-abusive will indicate whether abusive contacts can + * be reported to the server administrator. * * One can ask for a feature to be prepared using the * tp_proxy_prepare_async() function, and waiting for it to callback. diff --git a/telepathy-glib/connection.c b/telepathy-glib/connection.c index 97011642..10417735 100644 --- a/telepathy-glib/connection.c +++ b/telepathy-glib/connection.c @@ -2120,6 +2120,10 @@ tp_connection_class_init (TpConnectionClass *klass) * A #GPtrArray of blocked #TpContact. Changes are notified using the * #TpConnection::blocked-contacts-changed signal. * + * These TpContact objects have been prepared with the desired features. + * See tp_simple_client_factory_add_contact_features() to define which + * features needs to be prepared on them. + * * For this property to be valid, you must first call * tp_proxy_prepare_async() with the feature * %TP_CONNECTION_FEATURE_CONTACT_BLOCKING. |