diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-09-03 02:51:21 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-09-03 02:51:21 +0800 |
commit | 0a362c9453f46464d6f227b410f12ff271af16e4 (patch) | |
tree | f10d8ede5a9f52f12ccfeecacbfce070af8b05f6 /addressbook/gui/widgets/e-addressbook-view.c | |
parent | f8374109ac06f8c0528dcf27f214f26c5d2aaf8d (diff) | |
download | gsoc2013-evolution-0a362c9453f46464d6f227b410f12ff271af16e4.tar gsoc2013-evolution-0a362c9453f46464d6f227b410f12ff271af16e4.tar.gz gsoc2013-evolution-0a362c9453f46464d6f227b410f12ff271af16e4.tar.bz2 gsoc2013-evolution-0a362c9453f46464d6f227b410f12ff271af16e4.tar.lz gsoc2013-evolution-0a362c9453f46464d6f227b410f12ff271af16e4.tar.xz gsoc2013-evolution-0a362c9453f46464d6f227b410f12ff271af16e4.tar.zst gsoc2013-evolution-0a362c9453f46464d6f227b410f12ff271af16e4.zip |
** Fix for bug #471791 (Move away from assert to g_ret)
svn path=/trunk/; revision=34157
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-view.c')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 34a5e69b80..6cb1a994d2 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -1094,7 +1094,7 @@ table_double_click(ETableScrolled *table, gint row, gint col, GdkEvent *event, E "book", &book, NULL); - g_assert (E_IS_BOOK (book)); + g_return_if_fail (E_IS_BOOK (book)); if (e_contact_get (contact, E_CONTACT_IS_LIST)) eab_show_contact_list_editor (book, contact, FALSE, view->editable); @@ -1365,7 +1365,7 @@ treeview_row_activated(GtkTreeView *treeview, "book", &book, NULL); - g_assert (E_IS_BOOK (book)); + g_return_if_fail (E_IS_BOOK (book)); if (e_card_evolution_list (card)) eab_show_contact_list_editor (book, card, FALSE, view->editable); |