From 4958846621bc7287ea3cca53aa6f060c6d1c294e Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 5 Feb 2003 23:46:49 +0000 Subject: Remove cruft. (libebookincludedir): Use privincludedir. * backend/ebook/Makefile.am (INCLUDES): Remove cruft. (libebookincludedir): Use privincludedir. * backend/ebook/e-book-util.c: #include * backend/ebook/e-card-compare.c: Likewise * backend/ebook/load-pine-addressbook.c: Likewise * backend/ebook/test-client.c: Likewise * backend/ebook/evolution-vcard-importer.c: #include (factory_fn): Fix this to actually return the importer. * backend/ebook/evolution-ldif-importer.c (parseLine): #include and . Use g_ascii_strcmp. * backend/ebook/e-card.c (e_card_email_match_single_string): (e_card_email_find_number): s/g_str/g_ascii_str/ * backend/ebook/e-destination.c (e_destination_equal): Likewise. Also, add an "else return FALSE;" svn path=/trunk/; revision=19778 --- addressbook/backend/ebook/e-destination.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'addressbook/backend/ebook/e-destination.c') diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c index 86108125cb..87c3d83ee3 100644 --- a/addressbook/backend/ebook/e-destination.c +++ b/addressbook/backend/ebook/e-destination.c @@ -404,8 +404,10 @@ e_destination_equal (const EDestination *a, const EDestination *b) if ((na || nb) && !(na && nb && ! e_utf8_casefold_collate (na, nb))) return FALSE; - if (!g_strcasecmp (e_destination_get_email (a), e_destination_get_email (b))) + if (!g_ascii_strcasecmp (e_destination_get_email (a), e_destination_get_email (b))) return TRUE; + else + return FALSE; } void -- cgit v1.2.3