#include "config.h"
-#include <string.h>
#include <clutter/clutter.h>
#ifdef HAVE_CLUTTER_X11
AtkState state;
gboolean value;
- if (strcmp (pspec->name, "visible") == 0)
+ if (g_strcmp0 (pspec->name, "visible") == 0)
{
state = ATK_STATE_VISIBLE;
value = CLUTTER_ACTOR_IS_VISIBLE (actor);
}
- else if (strcmp (pspec->name, "reactive") == 0)
+ else if (g_strcmp0 (pspec->name, "reactive") == 0)
{
state = ATK_STATE_SENSITIVE;
value = CLUTTER_ACTOR_IS_REACTIVE (actor);
static guint
add_listener (GSignalEmissionHook listener,
const gchar *object_type,
- const gchar *signal,
+ const gchar *signal_name,
const gchar *hook_data)
{
GType type;
type = g_type_from_name (object_type);
if (type)
{
- signal_id = g_signal_lookup (signal, type);
+ signal_id = g_signal_lookup (signal_name, type);
if (signal_id > 0)
{
CallyUtilListenerInfo *listener_info;
{
/* This is mainly because some "window:xxx" methods not
implemented on CallyStage */
- g_debug ("Signal type %s not supported\n", signal);
+ g_debug ("Signal type %s not supported\n", signal_name);
}
}
else
ClutterStage *stage,
gpointer data)
{
- GCallback cally_key_snooper = G_CALLBACK (data);
+ GCallback cally_key_snooper_cb = G_CALLBACK (data);
AtkObject *cally_stage = NULL;
- g_signal_connect (G_OBJECT (stage), "captured-event", cally_key_snooper, NULL);
+ g_signal_connect (G_OBJECT (stage), "captured-event", cally_key_snooper_cb, NULL);
cally_stage = clutter_actor_get_accessible (CLUTTER_ACTOR (stage));
if (cally_stage != NULL)
ClutterStage *stage,
gpointer data)
{
- GCallback cally_key_snooper = G_CALLBACK (data);
+ GCallback cally_key_snooper_cb = G_CALLBACK (data);
gint num = 0;
AtkObject *cally_stage = NULL;
- num = g_signal_handlers_disconnect_by_func (stage, cally_key_snooper, NULL);
+ num = g_signal_handlers_disconnect_by_func (stage, cally_key_snooper_cb, NULL);
cally_stage = clutter_actor_get_accessible (CLUTTER_ACTOR (stage));
if (cally_stage != NULL)