summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2022-11-28 16:34:12 -0800
committerCorey Berla <corey@berla.me>2022-11-28 17:02:18 -0800
commit44e297488f68438fb1be29f1e25d46da2cd2faa0 (patch)
tree235ccd0cf265926c4030d2b30e153bc9e8687a48
parent8072d202e319aa889327d6b632c9c5c6a46b391d (diff)
downloadgtk+-44e297488f68438fb1be29f1e25d46da2cd2faa0.tar.gz
atspicontext: Log more helpful warnings when the a11y bus doesn't exist
-rw-r--r--gtk/a11y/gtkatspicontext.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/a11y/gtkatspicontext.c b/gtk/a11y/gtkatspicontext.c
index 9840e731b4..8380d156b4 100644
--- a/gtk/a11y/gtkatspicontext.c
+++ b/gtk/a11y/gtkatspicontext.c
@@ -1648,7 +1648,9 @@ get_bus_address_dbus (GdkDisplay *display)
&error);
if (error != NULL)
{
- g_warning ("Unable to acquire the address of the accessibility bus: %s",
+ g_warning ("Unable to acquire the address of the accessibility bus: %s. "
+ "If you are attempting to run GTK without a11y support, "
+ "GTK_A11Y should be set to 'none'.",
error->message);
g_error_free (error);
}