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-card.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-card.c')
-rw-r--r-- | addressbook/backend/ebook/e-card.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c index 99a8672111..38ee1ce224 100644 --- a/addressbook/backend/ebook/e-card.c +++ b/addressbook/backend/ebook/e-card.c @@ -1925,7 +1925,7 @@ e_card_email_match_single_string (const gchar *a, const gchar *b) for (xa=a; *xa && *xa != '@'; ++xa); for (xb=b; *xb && *xb != '@'; ++xb); - if (xa-a != xb-b || *xa != *xb || g_strncasecmp (a, b, xa-a)) + if (xa-a != xb-b || *xa != *xb || g_ascii_strncasecmp (a, b, xa-a)) return FALSE; if (*xa == '\0') @@ -1985,7 +1985,7 @@ e_card_email_find_number (const ECard *card, const gchar *email) iter = e_list_get_iterator (card->email); for (e_iterator_reset (iter); e_iterator_is_valid (iter); e_iterator_next (iter)) { - if (!g_strcasecmp (e_iterator_get (iter), email)) + if (!g_ascii_strcasecmp (e_iterator_get (iter), email)) goto finished; ++count; } |