comparison pidgin/gtkutils.c @ 17095:7ade887fd3f6

Replace strcasecmp() calls with glib equivalents.
author Richard Laager <rlaager@wiktel.com>
date Mon, 14 May 2007 23:35:50 +0000
parents 10c7c5d4ea25
children c02305ee715a f199d701d1b1 5241d388f463
comparison
equal deleted inserted replaced
17094:f6dd1f7689ee 17095:7ade887fd3f6
3015 size_t i; 3015 size_t i;
3016 size_t len; 3016 size_t len;
3017 PangoLogAttr *log_attrs; 3017 PangoLogAttr *log_attrs;
3018 gchar *word; 3018 gchar *word;
3019 3019
3020 if (strcasecmp(key, "Global Thermonuclear War") == 0) 3020 if (g_ascii_strcasecmp(key, "Global Thermonuclear War") == 0)
3021 { 3021 {
3022 purple_notify_info(NULL, "WOPR", 3022 purple_notify_info(NULL, "WOPR",
3023 "Wouldn't you prefer a nice game of chess?", NULL); 3023 "Wouldn't you prefer a nice game of chess?", NULL);
3024 return FALSE; 3024 return FALSE;
3025 } 3025 }