Bump minimal version telepathy-glib to 0.22.

Also removed a deprecated function
TelepathyGlib.AccountManager.get_valid_accounts().
This commit is contained in:
Niels De Graef 2017-07-18 10:31:54 +02:00
parent 3766949230
commit 9d89ccf1a1
2 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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);
}