From 2fe2eb76be6c3b5f791e897830261689fbb042fb Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 10 Sep 2007 10:58:25 +0000 Subject: ** Fix for bug #471791 svn path=/trunk/; revision=34216 --- a11y/addressbook/ea-minicard-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'a11y/addressbook') diff --git a/a11y/addressbook/ea-minicard-view.c b/a11y/addressbook/ea-minicard-view.c index 7672f75dc4..c6b7d4b029 100644 --- a/a11y/addressbook/ea-minicard-view.c +++ b/a11y/addressbook/ea-minicard-view.c @@ -154,7 +154,7 @@ ea_minicard_view_get_name (AtkObject *accessible) /* Get the current name of minicard view*/ card_view = E_MINICARD_VIEW (reflow); g_object_get (card_view->adapter, "book", &book, NULL); - g_assert (E_IS_BOOK (book)); + g_return_val_if_fail (E_IS_BOOK (book), NULL); source_name = e_source_peek_name (e_book_get_source (book)); if (!source_name) source_name=""; @@ -378,7 +378,7 @@ static gboolean atk_action_interface_do_action (AtkAction *action, gint i) g_object_get(card_view, "book", &book, NULL); - g_assert (E_IS_BOOK (book)); + g_return_val_if_fail (E_IS_BOOK (book), FALSE); switch (i) { case 0: -- cgit v1.2.3