From a18f28aa035f59acc0a3119528034e482168bd5a Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 18 Jun 2004 00:02:10 +0000 Subject: [ fixes bug #58696 ] 2004-06-17 Chris Toshok [ fixes bug #58696 ] * gui/widgets/eab-gui-util.c (eab_transfer_contacts): use addressbook_load instead of e_book_async_open, so we do auth stuff for the destination book. svn path=/trunk/; revision=26404 --- addressbook/gui/widgets/eab-gui-util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/widgets/eab-gui-util.c') diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index 6dc7dfb5d1..d2303e0f97 100644 --- a/addressbook/gui/widgets/eab-gui-util.c +++ b/addressbook/gui/widgets/eab-gui-util.c @@ -41,6 +41,7 @@ #include "addressbook/gui/contact-editor/e-contact-editor.h" #include "addressbook/gui/contact-list-editor/e-contact-list-editor.h" #include "addressbook/gui/component/addressbook-component.h" +#include "addressbook/gui/component/addressbook.h" /* the NULL's in this table correspond to the status codes that should *never* be generated by a backend */ @@ -665,7 +666,7 @@ eab_transfer_contacts (EBook *source, GList *contacts /* adopted */, gboolean de process->done_cb = NULL; dest = e_book_new (destination_source, NULL); - e_book_async_open (dest, TRUE, got_book_cb, process); + addressbook_load (dest, got_book_cb, process); } #include -- cgit v1.2.3