aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/addressbook
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-09-10 18:58:25 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-09-10 18:58:25 +0800
commit2fe2eb76be6c3b5f791e897830261689fbb042fb (patch)
tree2e8f00a00ba735f4c803d80f2b92d1e31dfcebf7 /a11y/addressbook
parentea3061eb0641e961bdcd7df6519a5c5346abff9c (diff)
downloadgsoc2013-evolution-2fe2eb76be6c3b5f791e897830261689fbb042fb.tar.gz
gsoc2013-evolution-2fe2eb76be6c3b5f791e897830261689fbb042fb.tar.zst
gsoc2013-evolution-2fe2eb76be6c3b5f791e897830261689fbb042fb.zip
** Fix for bug #471791
svn path=/trunk/; revision=34216
Diffstat (limited to 'a11y/addressbook')
-rw-r--r--a11y/addressbook/ea-minicard-view.c4
1 files changed, 2 insertions, 2 deletions
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: