diff options
Diffstat (limited to 'addressbook/backend/ebook/e-book-view.c')
-rw-r--r-- | addressbook/backend/ebook/e-book-view.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-book-view.c b/addressbook/backend/ebook/e-book-view.c index e56c7e90bc..1af893bcd6 100644 --- a/addressbook/backend/ebook/e-book-view.c +++ b/addressbook/backend/ebook/e-book-view.c @@ -207,6 +207,14 @@ e_book_view_set_book (EBookView *book_view, EBook *book) gtk_object_ref (GTK_OBJECT (book)); } +void +e_book_view_stop (EBookView *book_view) +{ + 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); +} + static void e_book_view_init (EBookView *book_view) { |