aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/itip-formatter/ChangeLog5
-rw-r--r--plugins/itip-formatter/itip-formatter.c6
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);
}