From e5ae775b42ea98587603ee273ca23394a113d44c Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 10 Dec 2013 21:20:56 +0100 Subject: [PATCH] don't use deprecated g_strcasecmp() It's dependent on the current locale and deprecated, use g_ascii_strcasecmp() instead. --- gtk2_ardour/gtk_pianokeyboard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/gtk_pianokeyboard.c b/gtk2_ardour/gtk_pianokeyboard.c index f3897e3d44..4f1740f26a 100644 --- a/gtk2_ardour/gtk_pianokeyboard.c +++ b/gtk2_ardour/gtk_pianokeyboard.c @@ -732,13 +732,13 @@ piano_keyboard_set_keyboard_layout(PianoKeyboard *pk, const char *layout) { assert(layout); - if (!g_strcasecmp(layout, "QWERTY")) { + if (!g_ascii_strcasecmp(layout, "QWERTY")) { bind_keys_qwerty(pk); - } else if (!g_strcasecmp(layout, "QWERTZ")) { + } else if (!g_ascii_strcasecmp(layout, "QWERTZ")) { bind_keys_qwertz(pk); - } else if (!g_strcasecmp(layout, "AZERTY")) { + } else if (!g_ascii_strcasecmp(layout, "AZERTY")) { bind_keys_azerty(pk); } else {