summaryrefslogtreecommitdiff
path: root/gtk/a11y
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2022-11-27 14:12:36 -0800
committerCorey Berla <corey@berla.me>2022-11-27 14:13:13 -0800
commit16fd72e6061d8c2161f6cfb8bfcdda839b2765a4 (patch)
treed587b67dbdd019e374c53c5e8f5ab03160fb282b /gtk/a11y
parentc09ba28b061cd285dc9882a7da03db3ae6fbcaf3 (diff)
downloadgtk+-16fd72e6061d8c2161f6cfb8bfcdda839b2765a4.tar.gz
atspicontext: Log failure to connect to a11y
GTK depends on the a11y infrastructure to be in place unless GTK_A11Y is set to none. It appears that despite that, users attempt to get around the a11y requirement without setting GTK_A11Y. This can cause, amongst other issues, performance problems with gtk applications. Log failure to connect to the a11y bus.
Diffstat (limited to 'gtk/a11y')
-rw-r--r--gtk/a11y/gtkatspicontext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/a11y/gtkatspicontext.c b/gtk/a11y/gtkatspicontext.c
index b098377de5..4981ef269a 100644
--- a/gtk/a11y/gtkatspicontext.c
+++ b/gtk/a11y/gtkatspicontext.c
@@ -1631,7 +1631,7 @@ get_bus_address_dbus (GdkDisplay *display)
if (error != NULL)
{
- GTK_DEBUG (A11Y, "Unable to acquire session bus: %s", error->message);
+ g_warning ("Unable to acquire session bus: %s", error->message);
g_error_free (error);
return NULL;
}
@@ -1648,8 +1648,8 @@ get_bus_address_dbus (GdkDisplay *display)
&error);
if (error != NULL)
{
- GTK_DEBUG (A11Y, "Unable to acquire the address of the accessibility bus: %s",
- error->message);
+ g_warning ("Unable to acquire the address of the accessibility bus: %s",
+ error->message);
g_error_free (error);
}