[gpointing-device-settings] Use ignore care comparison.
- From: Hiroyuki Ikezoe <hiikezoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gpointing-device-settings] Use ignore care comparison.
- Date: Sat, 26 Jun 2010 11:00:44 +0000 (UTC)
commit 4e12fe7d8140d947842c1e771536244c578e7b45
Author: Hiroyuki Ikezoe <hiikezoe gnome org>
Date: Sat Jun 26 19:40:32 2010 +0900
Use ignore care comparison.
.../gsd-pointing-device-manager.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/modules/gnome-settings-daemon-plugins/gsd-pointing-device-manager.c b/modules/gnome-settings-daemon-plugins/gsd-pointing-device-manager.c
index c7e45ab..c9e1c9b 100644
--- a/modules/gnome-settings-daemon-plugins/gsd-pointing-device-manager.c
+++ b/modules/gnome-settings-daemon-plugins/gsd-pointing-device-manager.c
@@ -177,11 +177,11 @@ gsd_pointing_device_manager_new (const gchar *device_type, const gchar *device_n
{
GType type = 0;
- if (!strcmp(device_type, "mouse"))
+ if (!g_ascii_strcasecmp(device_type, "mouse"))
type = GSD_TYPE_MOUSE_EXTENSION_MANAGER;
- else if (!strcmp(device_type, "touchpad"))
+ else if (!g_ascii_strcasecmp(device_type, "touchpad"))
type = GSD_TYPE_TOUCHPAD_MANAGER;
- else if (!strcmp(device_type, "pointingstick"))
+ else if (!g_ascii_strcasecmp(device_type, "pointingstick"))
type = GSD_TYPE_POINTINGSTICK_MANAGER;
if (type)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]