diff options
Diffstat (limited to 'addressbook/backend/ebook/e-book-view.c')
-rw-r--r-- | addressbook/backend/ebook/e-book-view.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/addressbook/backend/ebook/e-book-view.c b/addressbook/backend/ebook/e-book-view.c index e8468e35de..c36e87967c 100644 --- a/addressbook/backend/ebook/e-book-view.c +++ b/addressbook/backend/ebook/e-book-view.c @@ -204,9 +204,17 @@ e_book_view_start (EBookView *book_view) void e_book_view_stop (EBookView *book_view) { + CORBA_Environment ev; + g_return_if_fail (book_view && E_IS_BOOK_VIEW (book_view)); - if (book_view->priv->listener) - e_book_view_listener_stop (book_view->priv->listener); + + CORBA_exception_init (&ev); + + GNOME_Evolution_Addressbook_BookView_stop (book_view->priv->corba_book_view, &ev); + + if (ev._major != CORBA_NO_EXCEPTION) { + g_warning ("corba exception._major = %d\n", ev._major); + } } static void |