[folks] backends: eds: make the personna store backend more 'async'



commit f1e24400a254e9d3f14a9660379f01ed9dc793bc
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Mon May 13 21:22:02 2013 +0100

    backends: eds: make the personna store backend more 'async'
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=700253

 NEWS                                     |    2 +-
 backends/eds/lib/edsf-persona-store.vala |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index 1a987ca..c0224de 100644
--- 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:
 
diff --git a/backends/eds/lib/edsf-persona-store.vala b/backends/eds/lib/edsf-persona-store.vala
index 3ff352e..46bb9f6 100644
--- a/backends/eds/lib/edsf-persona-store.vala
+++ b/backends/eds/lib/edsf-persona-store.vala
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]