projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e798047
)
cally: Do not use deprecated functions
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Wed, 29 Sep 2010 13:10:38 +0000
(14:10 +0100)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Wed, 29 Sep 2010 13:13:51 +0000
(14:13 +0100)
The function g_strcasecmp() has been deprecated since GLib 2.2.
clutter/cally/cally-actor.c
patch
|
blob
|
history
diff --git
a/clutter/cally/cally-actor.c
b/clutter/cally/cally-actor.c
index
303cf37
..
cc32383
100644
(file)
--- a/
clutter/cally/cally-actor.c
+++ b/
clutter/cally/cally-actor.c
@@
-101,6
+101,7
@@
#include "config.h"
#endif
+#include <glib.h>
#include <clutter/clutter.h>
#ifdef HAVE_CLUTTER_GLX
@@
-1471,7
+1472,9
@@
cally_actor_remove_action_by_name (CallyActor *cally_actor,
for (node = priv->action_list; node && !action_found;
node = node->next)
{
- if (!g_strcasecmp (((CallyActorActionInfo *)(node->data))->name, action_name))
+ CallyActorActionInfo *ainfo = node->data;
+
+ if (!g_ascii_strcasecmp (ainfo->name, action_name))
{
action_found = TRUE;
break;