diff options
author | Cosimo Cecchi <cosimo@endlessm.com> | 2017-11-07 12:18:57 -0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2018-01-01 11:06:29 +0800 |
commit | edb3283f5277d9984765e5e58580f1eaf3256942 (patch) | |
tree | 2fc15efba513f8bd9880d5e2741ad4ff994eacc6 /src/contacts-contact-list.vala | |
parent | 489f6d3c01f4ea0bdfa3a9cca0dae727517706ee (diff) | |
download | gnome-contacts-edb3283f5277d9984765e5e58580f1eaf3256942.tar.gz |
Make telepathy dependency optional
Telepathy is on the way out; remove the mandatory dependency from
gnome-contacts.
https://bugzilla.gnome.org/show_bug.cgi?id=790037
Diffstat (limited to 'src/contacts-contact-list.vala')
-rw-r--r-- | src/contacts-contact-list.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/contacts-contact-list.vala b/src/contacts-contact-list.vala index 4e013ef..1d074d2 100644 --- a/src/contacts-contact-list.vala +++ b/src/contacts-contact-list.vala @@ -181,8 +181,10 @@ public class Contacts.ContactList : ListBox { var data = row as ContactDataRow; var contact = data != null ? data.contact : null; selection_changed (contact); +#if HAVE_TELEPATHY if (contact != null) contact.fetch_contact_info (); +#endif } private bool filter (ListBoxRow row) { |