summaryrefslogtreecommitdiff
path: root/src/contacts-shell-search-provider.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/contacts-shell-search-provider.vala')
-rw-r--r--src/contacts-shell-search-provider.vala3
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;