diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-07-24 16:17:38 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-07-24 16:17:38 +0200 |
commit | bf772bf88572d235e905eea9a67e168b886bf670 (patch) | |
tree | 789c264014dec218dabce814085e2856fb3c35b9 | |
parent | 523691b44584947b25ce1e93a0191e60c60ca78f (diff) | |
parent | e2f99aa39425dd3431e9cd8d09fb3b144c1ab0a7 (diff) |
Merge branch 'telepathy-glib-0.18'
-rw-r--r-- | telepathy-glib/contact.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/telepathy-glib/contact.c b/telepathy-glib/contact.c index abdc0a1c1..2827dec8b 100644 --- a/telepathy-glib/contact.c +++ b/telepathy-glib/contact.c @@ -4186,7 +4186,7 @@ tp_connection_get_contacts_by_handle (TpConnection *self, /* As an implementation detail, this method actually starts working slightly * before we're officially ready. We use this to get the TpContact for the - * SelfHandle. */ + * Connection. */ g_return_if_fail (self->priv->ready_enough_for_contacts); g_return_if_fail (tp_proxy_get_invalidated (self) == NULL); @@ -4308,8 +4308,10 @@ tp_connection_upgrade_contacts (TpConnection *self, ContactsContext *context; guint i; - g_return_if_fail (tp_proxy_is_prepared (self, - TP_CONNECTION_FEATURE_CONNECTED)); + /* As an implementation detail, this method actually starts working slightly + * before we're officially ready. We use this to get the TpContact for the + * Connection. */ + g_return_if_fail (self->priv->ready_enough_for_contacts); g_return_if_fail (n_contacts >= 1); g_return_if_fail (contacts != NULL); g_return_if_fail (n_features == 0 || features != NULL); |