[evolution-data-server] Maintain a list of clients in factory
- From: Ross Burton <rburton src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Maintain a list of clients in factory
- Date: Mon, 17 Aug 2009 12:05:07 +0000 (UTC)
commit d9b7d62abfda1238f02084269abc0851f1b99180
Author: Johnny Jacob <jjohnny novell com>
Date: Tue Jul 28 11:13:34 2009 +0530
Maintain a list of clients in factory
addressbook/libedata-book/e-data-book-factory.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book-factory.c b/addressbook/libedata-book/e-data-book-factory.c
index b05234e..0692f96 100644
--- a/addressbook/libedata-book/e-data-book-factory.c
+++ b/addressbook/libedata-book/e-data-book-factory.c
@@ -267,6 +267,7 @@ impl_BookFactory_getBook(EDataBookFactory *factory, const char *IN_source, DBusG
book = e_data_book_new (backend, source, book_closed_cb);
e_book_backend_set_mode (backend, 2); /* TODO: very odd */
g_hash_table_insert (priv->books, g_strdup (path), book);
+ e_book_backend_add_client (backend, book);
dbus_g_connection_register_g_object (connection, path, G_OBJECT (book));
g_object_weak_ref (G_OBJECT (book), (GWeakNotify)my_remove, g_strdup (path));
g_object_unref (backend); /* The book takes a reference to the backend */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]