diff options
author | Erick Pérez Castellanos <erick.red@gmail.com> | 2015-04-30 00:04:48 -0400 |
---|---|---|
committer | Erick Pérez Castellanos <erick.red@gmail.com> | 2015-04-30 00:06:06 -0400 |
commit | 317dfb8eed294a5600390b3af02f89ecfe0f1d75 (patch) | |
tree | 30a55f918d5f626896b74a8b49dd652960fa3247 /src/contacts-shell-search-provider.vala | |
parent | 8b63c967ba67ae84f5242e15a041b1b631ac4f76 (diff) | |
download | gnome-contacts-317dfb8eed294a5600390b3af02f89ecfe0f1d75.tar.gz |
app: exit properly on eds connection failure
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=726733
Diffstat (limited to 'src/contacts-shell-search-provider.vala')
-rw-r--r-- | src/contacts-shell-search-provider.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/contacts-shell-search-provider.vala b/src/contacts-shell-search-provider.vala index 2940db4..d029ee3 100644 --- a/src/contacts-shell-search-provider.vala +++ b/src/contacts-shell-search-provider.vala @@ -10,7 +10,8 @@ public class Contacts.SearchProvider : Object { public SearchProvider (SearchProviderApp app) { this.app = app; - ensure_eds_accounts (); + if (!ensure_eds_accounts ()) + app.quit (); store = new Store (); contacts_map = new Gee.HashMap<string, Contact> (); next_id = 0; |