After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 523704 - Deprecated glib symbol used: g_strcasecmp
Deprecated glib symbol used: g_strcasecmp
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: keyboard indicator (gswitchit)
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks: 560423
 
 
Reported: 2008-03-21 11:56 UTC by Diego Escalante Urrelo (not reading bugmail)
Modified: 2009-06-10 22:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Diego Escalante Urrelo (not reading bugmail) 2008-03-21 11:56:42 UTC
Can be replaced by g_ascii_strcasecmp in this case.

Index: gswitchit/gswitchit-applet.c
===================================================================
--- gswitchit/gswitchit-applet.c	(revision 10759)
+++ gswitchit/gswitchit-applet.c	(working copy)
@@ -579,7 +579,7 @@ GSwitchItAppletSetupMenu (GSwitchItApple
 	/* Layout preview is for XKB only */
 	bonobo_ui_component_set_prop (popup, "/commands/Preview",
 				      "sensitive",
-				      g_strcasecmp ("XKB",
+				      g_ascii_strcasecmp ("XKB",
 						    engine_backend_name) ?
 				      "0" : "1", NULL);
Comment 1 Sergey V. Udaltsov 2008-03-23 14:48:26 UTC
Thanks, committed!