static void clutter_scriptable_iface_init (ClutterScriptableIface *iface);
static void clutter_animatable_iface_init (ClutterAnimatableIface *iface);
+static void atk_implementor_iface_init (AtkImplementorIface *iface);
static void _clutter_actor_apply_modelview_transform (ClutterActor *self);
G_IMPLEMENT_INTERFACE (CLUTTER_TYPE_SCRIPTABLE,
clutter_scriptable_iface_init)
G_IMPLEMENT_INTERFACE (CLUTTER_TYPE_ANIMATABLE,
- clutter_animatable_iface_init));
+ clutter_animatable_iface_init)
+ G_IMPLEMENT_INTERFACE (ATK_TYPE_IMPLEMENTOR,
+ atk_implementor_iface_init));
static const gchar *
get_actor_debug_name (ClutterActor *actor)
return accessible;
}
+static AtkObject*
+_clutter_actor_ref_accessible (AtkImplementor *implementor)
+{
+ AtkObject *accessible;
+
+ accessible = clutter_actor_get_accessible (CLUTTER_ACTOR (implementor));
+ if (accessible)
+ g_object_ref (accessible);
+ return accessible;
+}
+
+static void
+atk_implementor_iface_init (AtkImplementorIface *iface)
+{
+ iface->ref_accessible = _clutter_actor_ref_accessible;
+}
+
static void
clutter_actor_class_init (ClutterActorClass *klass)
{