mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +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)
|
switch (coordtype)
|
||||||
{
|
{
|
||||||
case ATSPI_COORD_TYPE_SCREEN:
|
case ATSPI_COORD_TYPE_SCREEN:
|
||||||
g_warning ("Screen coordinates not supported, reported positions will be wrong");
|
*xo = 0;
|
||||||
|
*yo = 0;
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case ATSPI_COORD_TYPE_WINDOW:
|
case ATSPI_COORD_TYPE_WINDOW:
|
||||||
@ -86,7 +87,6 @@ translate_coordinates_from_widget (GtkWidget *widget,
|
|||||||
switch (coordtype)
|
switch (coordtype)
|
||||||
{
|
{
|
||||||
case ATSPI_COORD_TYPE_SCREEN:
|
case ATSPI_COORD_TYPE_SCREEN:
|
||||||
g_warning ("Screen coordinates not supported, reported positions will be wrong");
|
|
||||||
*xo = 0;
|
*xo = 0;
|
||||||
*yo = 0;
|
*yo = 0;
|
||||||
return;
|
return;
|
||||||
|
@ -1229,8 +1229,6 @@ gtk_at_context_get_text_accumulate (GtkATContext *self,
|
|||||||
{
|
{
|
||||||
GtkAccessibleValue *value = NULL;
|
GtkAccessibleValue *value = NULL;
|
||||||
|
|
||||||
g_warn_if_fail (self->realized);
|
|
||||||
|
|
||||||
/* Step 2.A */
|
/* Step 2.A */
|
||||||
if (!is_ref)
|
if (!is_ref)
|
||||||
{
|
{
|
||||||
@ -1369,7 +1367,6 @@ gtk_at_context_get_text (GtkATContext *self,
|
|||||||
GtkATContext *parent = NULL;
|
GtkATContext *parent = NULL;
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_AT_CONTEXT (self), NULL);
|
g_return_val_if_fail (GTK_IS_AT_CONTEXT (self), NULL);
|
||||||
g_warn_if_fail (self->realized);
|
|
||||||
|
|
||||||
/* Step 1 */
|
/* Step 1 */
|
||||||
if (gtk_accessible_role_get_naming (self->accessible_role) == GTK_ACCESSIBLE_NAME_PROHIBITED)
|
if (gtk_accessible_role_get_naming (self->accessible_role) == GTK_ACCESSIBLE_NAME_PROHIBITED)
|
||||||
|
Loading…
Reference in New Issue
Block a user