From 2d132354735010e3e97270463f7eb52194e285e8 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 17 Dec 2005 18:46:17 +0000 Subject: Use g_ascii_strcasecmp() instead of g_strcasecmp(). 2005-12-17 Tor Lillqvist * itip-formatter.c: Use g_ascii_strcasecmp() instead of g_strcasecmp(). svn path=/trunk/; revision=30845 --- plugins/itip-formatter/itip-formatter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/itip-formatter/itip-formatter.c') 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); } -- cgit