a11y: proper ATK role for ClutterStage

ATK_ROLE_CANVAS is not a suitable role, as the user (in general) can't
draw on the Stage. CallyStage implements AtkWindow, so the proper role
is ATK_ROLE_WINDOW
This commit is contained in:
Alejandro Piñeiro 2012-02-09 12:32:44 +01:00
parent cc126f55eb
commit c1d43b70c5

View File

@ -183,7 +183,7 @@ cally_stage_real_initialize (AtkObject *obj,
g_signal_connect (stage, "notify::key-focus", g_signal_connect (stage, "notify::key-focus",
G_CALLBACK (cally_stage_notify_key_focus_cb), obj); G_CALLBACK (cally_stage_notify_key_focus_cb), obj);
obj->role = ATK_ROLE_CANVAS; atk_object_set_role (obj, ATK_ROLE_WINDOW);
} }
static AtkStateSet* static AtkStateSet*