diff options
author | Chris Toshok <toshok@src.gnome.org> | 2000-05-01 08:14:39 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-05-01 08:14:39 +0800 |
commit | 702ede3d4dc1a9046264e7a5ac31da3b1d25b942 (patch) | |
tree | f36eb83b926c57f6169ba5988f54af023ce7533e /addressbook | |
parent | 90dd8d4336078364aaaebbf709fa52b9f707f57f (diff) | |
download | gsoc2013-evolution-702ede3d4dc1a9046264e7a5ac31da3b1d25b942.tar gsoc2013-evolution-702ede3d4dc1a9046264e7a5ac31da3b1d25b942.tar.gz gsoc2013-evolution-702ede3d4dc1a9046264e7a5ac31da3b1d25b942.tar.bz2 gsoc2013-evolution-702ede3d4dc1a9046264e7a5ac31da3b1d25b942.tar.lz gsoc2013-evolution-702ede3d4dc1a9046264e7a5ac31da3b1d25b942.tar.xz gsoc2013-evolution-702ede3d4dc1a9046264e7a5ac31da3b1d25b942.tar.zst gsoc2013-evolution-702ede3d4dc1a9046264e7a5ac31da3b1d25b942.zip |
create the book listener here, since it's destroyed in unload_uri.
* 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.
svn path=/trunk/; revision=2699
Diffstat (limited to 'addressbook')
-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; } |