cally: Do not use deprecated functions
The function g_strcasecmp() has been deprecated since GLib 2.2.
This commit is contained in:
parent
e798047ca0
commit
27aebb5c9d
@ -101,6 +101,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
#include <clutter/clutter.h>
|
#include <clutter/clutter.h>
|
||||||
|
|
||||||
#ifdef HAVE_CLUTTER_GLX
|
#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;
|
for (node = priv->action_list; node && !action_found;
|
||||||
node = node->next)
|
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;
|
action_found = TRUE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user