diff options
author | Tor Lillqvist <tml@novell.com> | 2005-12-18 02:46:17 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-12-18 02:46:17 +0800 |
commit | 2d132354735010e3e97270463f7eb52194e285e8 (patch) | |
tree | 773e12c189549cc27b59dabf404b550ec4e993ad /plugins | |
parent | 9f37d3bd9a7f32dd12f05cb6503997dcf6ea9dff (diff) | |
download | gsoc2013-evolution-2d132354735010e3e97270463f7eb52194e285e8.tar.gz gsoc2013-evolution-2d132354735010e3e97270463f7eb52194e285e8.tar.zst gsoc2013-evolution-2d132354735010e3e97270463f7eb52194e285e8.zip |
Use g_ascii_strcasecmp() instead of g_strcasecmp().
2005-12-17 Tor Lillqvist <tml@novell.com>
* itip-formatter.c: Use g_ascii_strcasecmp() instead of
g_strcasecmp().
svn path=/trunk/; revision=30845
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index a4eda4f95f..7d4345b766 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,8 @@ +2005-12-17 Tor Lillqvist <tml@novell.com> + + * itip-formatter.c: Use g_ascii_strcasecmp() instead of + g_strcasecmp(). + 2005-11-24 Tor Lillqvist <tml@novell.com> * itip-view.c: Drop extra inclusion of e-util/e-time-utils.h, diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 085b400d9c..ad31d50571 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -605,7 +605,7 @@ find_attendee (icalcomponent *ical_comp, const char *address) text = g_strdup (itip_strip_mailto (attendee)); text = g_strstrip (text); - if (!g_strcasecmp (address, text)) { + if (!g_ascii_strcasecmp (address, text)) { g_free (text); break; } @@ -1452,9 +1452,9 @@ view_response_cb (GtkWidget *widget, ItipViewResponse response, gpointer data) /* We do this to ensure there is at most one * attendee in the response */ - if (found || g_strcasecmp (pitip->my_address, text)) + if (found || g_ascii_strcasecmp (pitip->my_address, text)) list = g_slist_prepend (list, prop); - else if (!g_strcasecmp (pitip->my_address, text)) + else if (!g_ascii_strcasecmp (pitip->my_address, text)) found = TRUE; g_free (text); } |