diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-10 19:02:30 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-11 13:46:17 +0100 |
commit | 203515cea77126c5a1b7d6d8cfc2ae372d34ab08 (patch) | |
tree | 36cd3076f9af787ef8d5598817f1d656a22b77ca /telepathy-glib/contact.c | |
parent | 792f37a447e49accfef9c66d8e5e655cdaea234f (diff) | |
download | telepathy-glib-203515cea77126c5a1b7d6d8cfc2ae372d34ab08.tar.gz |
connection-contact-list: don't crash if no Contacts
This situation would be stupid, but we still shouldn't crash.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49735
Diffstat (limited to 'telepathy-glib/contact.c')
-rw-r--r-- | telepathy-glib/contact.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/telepathy-glib/contact.c b/telepathy-glib/contact.c index 6f17769f7..6211cd25f 100644 --- a/telepathy-glib/contact.c +++ b/telepathy-glib/contact.c @@ -4005,6 +4005,9 @@ contacts_bind_to_signals (TpConnection *connection, return (const gchar **) g_ptr_array_free (array, FALSE); } +/* + * The connection must implement Contacts. + */ const gchar ** _tp_contacts_bind_to_signals (TpConnection *connection, guint n_features, |