[gnome-contacts] Bump minimal version telepathy-glib to 0.22.
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Bump minimal version telepathy-glib to 0.22.
- Date: Tue, 18 Jul 2017 09:19:49 +0000 (UTC)
commit 9d89ccf1a16eeef418de749fd2e56ef1542b1e3f
Author: Niels De Graef <nielsdegraef gmail com>
Date: Tue Jul 18 10:31:54 2017 +0200
Bump minimal version telepathy-glib to 0.22.
Also removed a deprecated function
TelepathyGlib.AccountManager.get_valid_accounts().
configure.ac | 2 +-
src/contacts-store.vala | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 27c5d32..f983200 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ pkg_modules="gtk+-3.0 >= 3.20.0
folks >= 0.11.4
folks-telepathy
folks-eds
- telepathy-glib >= 0.17.5
+ telepathy-glib >= 0.22.0
libebook-1.2 >= 3.13.90
libedataserver-1.2 >= 3.13.90
libedataserverui-1.2 >= 3.13.90
diff --git a/src/contacts-store.vala b/src/contacts-store.vala
index b38fd79..f841f2f 100644
--- a/src/contacts-store.vala
+++ b/src/contacts-store.vala
@@ -328,9 +328,8 @@ public class Contacts.Store : GLib.Object {
account_manager.account_enabled.connect (this.check_account_caps);
account_manager.account_disabled.connect (this.check_account_caps);
- foreach (var account in account_manager.get_valid_accounts ()) {
- yield this.check_account_caps (account);
- }
+ foreach (var account in account_manager.dup_valid_accounts ())
+ yield this.check_account_caps (account);
} catch (GLib.Error e) {
warning ("Unable to check accounts caps %s", e.message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]