backends: eds: make the personna store backend more 'async'
authorLionel Landwerlin <llandwerlin@gmail.com>
Mon, 13 May 2013 20:22:02 +0000 (21:22 +0100)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Mon, 13 May 2013 22:32:15 +0000 (15:32 -0700)
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=700253

NEWS
backends/eds/lib/edsf-persona-store.vala

diff --git a/NEWS b/NEWS
index 1a987ca..c0224de 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -23,7 +23,7 @@ Bugs fixed:
 • Bug 696179 - folks-inspect, folks-import do not attempt to use translations
 • Bug 682903 (partially) - Use gee's MultiMap iterators
 • Bug 694385 - eds: non-blocking change processing
-
+• Bug 700253 - EDS backend initialization blocks
 
 API changes:
 
index 3ff352e..46bb9f6 100644 (file)
@@ -757,7 +757,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
                   this._source_registry_changed_cb);
 
               /* Connect to the address book. */
-              this._addressbook = new E.BookClient (this.source);
+              this._addressbook = yield E.BookClient.connect (this.source, null);
 
               ((!) this._addressbook).notify["readonly"].connect (
                   this._address_book_notify_read_only_cb);