aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-09-24 18:25:35 +0800
committerMilan Crha <mcrha@redhat.com>2009-09-24 18:25:35 +0800
commite73e6f1ea878dfea7344bd9bf2bca06da78b29c9 (patch)
tree6e775b93e828bafe1baf385524ead4c7ec6293a5 /addressbook/gui/widgets
parent0c1afa3941ef2663793d0b5e1fd9221423374d19 (diff)
downloadgsoc2013-evolution-e73e6f1ea878dfea7344bd9bf2bca06da78b29c9.tar
gsoc2013-evolution-e73e6f1ea878dfea7344bd9bf2bca06da78b29c9.tar.gz
gsoc2013-evolution-e73e6f1ea878dfea7344bd9bf2bca06da78b29c9.tar.bz2
gsoc2013-evolution-e73e6f1ea878dfea7344bd9bf2bca06da78b29c9.tar.lz
gsoc2013-evolution-e73e6f1ea878dfea7344bd9bf2bca06da78b29c9.tar.xz
gsoc2013-evolution-e73e6f1ea878dfea7344bd9bf2bca06da78b29c9.tar.zst
gsoc2013-evolution-e73e6f1ea878dfea7344bd9bf2bca06da78b29c9.zip
Bug #593633 - Runtime warnings trying to create a recurrence event
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r--addressbook/gui/widgets/e-minicard-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c
index 80d7291113..5f16ac9a56 100644
--- a/addressbook/gui/widgets/e-minicard-view.c
+++ b/addressbook/gui/widgets/e-minicard-view.c
@@ -167,10 +167,10 @@ set_empty_message (EMinicardView *view)
g_object_get (view->adapter,
"editable", &editable,
"model", &model,
+ "book", &book,
NULL);
- g_object_get (view->adapter, "book", &book, NULL);
- if (!e_book_check_static_capability (book, "do-initial-query"))
+ if (book && !e_book_check_static_capability (book, "do-initial-query"))
perform_initial_query = TRUE;
searching = model && e_addressbook_model_can_stop (model);