static gint cally_actor_get_n_children (AtkObject *obj);
static AtkObject* cally_actor_ref_child (AtkObject *obj,
gint i);
+static AtkAttributeSet * cally_actor_get_attributes (AtkObject *obj);
+
static gboolean _cally_actor_all_parents_visible (ClutterActor *actor);
/* ClutterContainer */
class->initialize = cally_actor_initialize;
class->get_n_children = cally_actor_get_n_children;
class->ref_child = cally_actor_ref_child;
+ class->get_attributes = cally_actor_get_attributes;
g_type_class_add_private (gobject_class, sizeof (CallyActorPrivate));
}
return result;
}
+static AtkAttributeSet *
+cally_actor_get_attributes (AtkObject *obj)
+{
+ AtkAttributeSet *attributes;
+ AtkAttribute *toolkit;
+
+ toolkit = g_new (AtkAttribute, 1);
+ toolkit->name = g_strdup ("toolkit");
+ toolkit->value = g_strdup ("clutter");
+
+ attributes = g_slist_append (NULL, toolkit);
+
+ return attributes;
+}
+
/* ClutterContainer */
static gint
cally_actor_add_actor (ClutterActor *container,
static const gchar *
cally_util_get_toolkit_name (void)
{
- return "CALLY";
+ return "clutter";
}
static const gchar *
cally_util_get_toolkit_version (void)
{
- /*
- * FIXME:
- * Version is passed in as a -D flag when this file is
- * compiled.
- */
- return "0.1";
+ return CLUTTER_VERSION_S;
}