mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 14:50:06 +00:00
a11y: Cosmetics
No need to have two code paths doing the same.
This commit is contained in:
parent
1f029229dc
commit
e1c9f50d26
@ -121,10 +121,7 @@ gtk_at_context_set_property (GObject *gobject,
|
||||
switch (prop_id)
|
||||
{
|
||||
case PROP_ACCESSIBLE_ROLE:
|
||||
if (!self->realized)
|
||||
self->accessible_role = g_value_get_enum (value);
|
||||
else
|
||||
g_critical ("The accessible role cannot be set on a realized AT context");
|
||||
gtk_at_context_set_accessible_role (self, g_value_get_enum (value));
|
||||
break;
|
||||
|
||||
case PROP_ACCESSIBLE:
|
||||
|
Loading…
Reference in New Issue
Block a user