diff options
author | Dan Winship <danw@src.gnome.org> | 2003-02-06 07:46:49 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-02-06 07:46:49 +0800 |
commit | 4958846621bc7287ea3cca53aa6f060c6d1c294e (patch) | |
tree | f3f255e4a8affd6b5ae6b62b68151d4fd25c267f /addressbook/backend/ebook/e-destination.c | |
parent | e40fc549356925a206c3cd6ea4b0c0e352c26c07 (diff) | |
download | gsoc2013-evolution-4958846621bc7287ea3cca53aa6f060c6d1c294e.tar gsoc2013-evolution-4958846621bc7287ea3cca53aa6f060c6d1c294e.tar.gz gsoc2013-evolution-4958846621bc7287ea3cca53aa6f060c6d1c294e.tar.bz2 gsoc2013-evolution-4958846621bc7287ea3cca53aa6f060c6d1c294e.tar.lz gsoc2013-evolution-4958846621bc7287ea3cca53aa6f060c6d1c294e.tar.xz gsoc2013-evolution-4958846621bc7287ea3cca53aa6f060c6d1c294e.tar.zst gsoc2013-evolution-4958846621bc7287ea3cca53aa6f060c6d1c294e.zip |
Remove cruft. (libebookincludedir): Use privincludedir.
* backend/ebook/Makefile.am (INCLUDES): Remove cruft.
(libebookincludedir): Use privincludedir.
* backend/ebook/e-book-util.c: #include <string.h>
* 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
<e-book-util.h>
(factory_fn): Fix this to actually return the importer.
* backend/ebook/evolution-ldif-importer.c (parseLine): #include
<e-book-util.h> and <bonobo/bonobo-main.h>. 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
Diffstat (limited to 'addressbook/backend/ebook/e-destination.c')
-rw-r--r-- | addressbook/backend/ebook/e-destination.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |