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/printing | |
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/printing')
-rw-r--r-- | addressbook/printing/e-contact-print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index a49501ba8b..b8b1aee6f2 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -310,7 +310,7 @@ contact_compare (EContact *contact1, EContact *contact2) field1 = e_contact_get_const (contact1, E_CONTACT_UID); field2 = e_contact_get_const (contact2, E_CONTACT_UID); - g_assert (field1 != NULL && field2 != NULL); + g_return_val_if_fail (field1 != NULL && field2 != NULL, (field1 != NULL) ? -1 : 1); return strcmp (field1, field2); } |