aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-05-21 02:53:04 +0800
committerChris Toshok <toshok@src.gnome.org>2004-05-21 02:53:04 +0800
commitc976418063aa604997502adb6b88054f0f2822cf (patch)
treec54aa4be5b897bc9bcfa0b03041d63a853892fcb
parent6c6cf7a444e646d509608438a999238caec394d1 (diff)
downloadgsoc2013-evolution-c976418063aa604997502adb6b88054f0f2822cf.tar.gz
gsoc2013-evolution-c976418063aa604997502adb6b88054f0f2822cf.tar.zst
gsoc2013-evolution-c976418063aa604997502adb6b88054f0f2822cf.zip
use the new ebook api here. missed this one in my earlier commit.
2004-05-20 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (impl_requestCreateItem): use the new ebook api here. missed this one in my earlier commit. svn path=/trunk/; revision=26018
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-component.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 0a89664d2a..d0e4690ce6 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-20 Chris Toshok <toshok@ximian.com>
+
+ * gui/component/addressbook-component.c (impl_requestCreateItem):
+ use the new ebook api here. missed this one in my earlier commit.
+
2004-05-20 Radek Doulik <rodo@ximian.com>
* printing/e-contact-print.c (complete_sequence): finish pages
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index e74b0d7dda..6223164d62 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -151,6 +151,7 @@ impl_requestCreateItem (PortableServer_Servant servant,
{
AddressbookComponent *addressbook_component = ADDRESSBOOK_COMPONENT (bonobo_object_from_servant (servant));
AddressbookComponentPrivate *priv;
+ EBook *book;
priv = addressbook_component->priv;
@@ -167,7 +168,8 @@ impl_requestCreateItem (PortableServer_Servant servant,
return;
}
- e_book_async_get_default_addressbook (book_loaded_cb, g_strdup (item_type_name));
+ book = e_book_new_default_addressbook (NULL);
+ e_book_async_open (book, FALSE, book_loaded_cb, g_strdup (item_type_name));
}
static void