mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Merge branch 'a11y-defeat' into 'main'
Give up on warning ATs into submission See merge request GNOME/gtk!6121
This commit is contained in:
commit
722bea2943
@ -50,7 +50,8 @@ translate_coordinates_to_widget (GtkWidget *widget,
|
||||
switch (coordtype)
|
||||
{
|
||||
case ATSPI_COORD_TYPE_SCREEN:
|
||||
g_warning ("Screen coordinates not supported, reported positions will be wrong");
|
||||
*xo = 0;
|
||||
*yo = 0;
|
||||
return;
|
||||
|
||||
case ATSPI_COORD_TYPE_WINDOW:
|
||||
@ -86,7 +87,6 @@ translate_coordinates_from_widget (GtkWidget *widget,
|
||||
switch (coordtype)
|
||||
{
|
||||
case ATSPI_COORD_TYPE_SCREEN:
|
||||
g_warning ("Screen coordinates not supported, reported positions will be wrong");
|
||||
*xo = 0;
|
||||
*yo = 0;
|
||||
return;
|
||||
|
@ -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