diff options
Diffstat (limited to 'addressbook/gui/minicard/e-minicard-view.c')
-rw-r--r-- | addressbook/gui/minicard/e-minicard-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/minicard/e-minicard-view.c b/addressbook/gui/minicard/e-minicard-view.c index 35024d9564..812fee47f0 100644 --- a/addressbook/gui/minicard/e-minicard-view.c +++ b/addressbook/gui/minicard/e-minicard-view.c @@ -176,7 +176,8 @@ book_view_loaded (EBook *book, EBookStatus status, EBookView *book_view, gpointe static gboolean get_view(EMinicardView *view) { - e_book_get_book_view(view->book, view->query, book_view_loaded, view); + if (view->book && view->query) + e_book_get_book_view(view->book, view->query, book_view_loaded, view); view->get_view_idle = 0; return FALSE; |