diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-02-08 13:24:25 -0600 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2016-02-08 13:24:25 -0600 |
commit | 11b41853eb2047ad2f53ee51ec5872f5ba701fa7 (patch) | |
tree | 36dc1ddc8c3f8883506844c9390833d957b575a8 | |
parent | d4ae614301bbc7f7204dab795cbd6f1289c401d2 (diff) | |
download | at-spi2-core-11b41853eb2047ad2f53ee51ec5872f5ba701fa7.tar.gz |
Don't display warning if unable to connect when logged in via ssh
https://bugzilla.gnome.org/show_bug.cgi?id=761600
-rw-r--r-- | atspi/atspi-misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c index 075a968a..3a1d174f 100644 --- a/atspi/atspi-misc.c +++ b/atspi/atspi-misc.c @@ -1588,7 +1588,8 @@ atspi_get_a11y_bus (void) if (!a11y_bus) { - g_warning ("Couldn't connect to accessibility bus: %s", error.message); + if (!g_getenv("SSH_CONNECTION")) + g_warning ("Couldn't connect to accessibility bus: %s", error.message); dbus_error_free (&error); return NULL; } |