mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
a11y: Remove the unrealized warning
This warning triggers quite a lot when opening a window while orca is running, which clearly shows that what it warns about happens in practice. But fixing it is reentry hell, and not a battle I'm up for today.
This commit is contained in:
parent
c2fda63b0d
commit
db97a35dc7
@ -1229,8 +1229,6 @@ gtk_at_context_get_text_accumulate (GtkATContext *self,
|
||||
{
|
||||
GtkAccessibleValue *value = NULL;
|
||||
|
||||
g_warn_if_fail (self->realized);
|
||||
|
||||
/* Step 2.A */
|
||||
if (!is_ref)
|
||||
{
|
||||
@ -1369,7 +1367,6 @@ gtk_at_context_get_text (GtkATContext *self,
|
||||
GtkATContext *parent = NULL;
|
||||
|
||||
g_return_val_if_fail (GTK_IS_AT_CONTEXT (self), NULL);
|
||||
g_warn_if_fail (self->realized);
|
||||
|
||||
/* Step 1 */
|
||||
if (gtk_accessible_role_get_naming (self->accessible_role) == GTK_ACCESSIBLE_NAME_PROHIBITED)
|
||||
|
Loading…
Reference in New Issue
Block a user