diff options
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-book.c | 24 |
2 files changed, 18 insertions, 12 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 31dfc61e5d..9861c23da5 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2000-04-30 Chris Toshok <toshok@helixcode.com> + + * backend/ebook/e-book.c (e_book_load_uri): create the book + listener here, since it's destroyed in unload_uri. + (e_book_construct): remove the book listener construction here. + 2000-04-30 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/.cvsignore: Added load-pine-addressbook. diff --git a/addressbook/backend/ebook/e-book.c b/addressbook/backend/ebook/e-book.c index e3301233a6..4acd15cba0 100644 --- a/addressbook/backend/ebook/e-book.c +++ b/addressbook/backend/ebook/e-book.c @@ -348,6 +348,18 @@ e_book_load_uri (EBook *book, } /* + * Create our local BookListener interface. + */ + book->priv->listener = e_book_listener_new (); + if (book->priv->listener == NULL) { + g_warning ("e_book_load_uri: Could not create EBookListener!\n"); + return FALSE; + } + + gtk_signal_connect (GTK_OBJECT (book->priv->listener), "responses_queued", + e_book_check_listener_queue, book); + + /* * Load the addressbook into the PAS. */ CORBA_exception_init (&ev); @@ -447,18 +459,6 @@ e_book_construct (EBook *book) return FALSE; } - /* - * Create our local BookListener interface. - */ - book->priv->listener = e_book_listener_new (); - if (book->priv->listener == NULL) { - g_warning ("e_book_construct: Could not create EBookListener!\n"); - return FALSE; - } - - gtk_signal_connect (GTK_OBJECT (book->priv->listener), "responses_queued", - e_book_check_listener_queue, book); - return TRUE; } |