diff --git a/gtk/a11y/gtkatspicomponent.c b/gtk/a11y/gtkatspicomponent.c index 30bb676c50..722ca16cec 100644 --- a/gtk/a11y/gtkatspicomponent.c +++ b/gtk/a11y/gtkatspicomponent.c @@ -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;