atspicontext: Log more helpful warnings when the a11y bus doesn't exist
authorCorey Berla <corey@berla.me>
Tue, 29 Nov 2022 00:34:12 +0000 (16:34 -0800)
committerCorey Berla <corey@berla.me>
Tue, 29 Nov 2022 01:02:18 +0000 (17:02 -0800)
gtk/a11y/gtkatspicontext.c

index 9840e731b4876e946fdd41cc28997b535db052fa..8380d156b4b3ecfca72aa0d5954995119b3de5ac 100644 (file)
@@ -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);
     }