[gnome-shell] a11y: set again NO_AT_BRIDGE=1 before calling meta_init()



commit 9896135c97ae513614310d46d10c7d175117f2a9
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Wed Sep 17 18:44:33 2014 +0200

    a11y: set again NO_AT_BRIDGE=1 before calling meta_init()
    
    It was removed on commit
    70099872ab2a2bb5e78080348c6df9444b3a87bb
    because it was thought to not be needed anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=736821

 src/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index f9fff24..65617d9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -424,7 +424,10 @@ main (int argc, char **argv)
   meta_set_wm_name (WM_NAME);
   meta_set_gnome_wm_keybindings (GNOME_WM_KEYBINDINGS);
 
+  /* Prevent meta_init() from causing gtk to load the atk-bridge*/
+  g_setenv ("NO_AT_BRIDGE", "1", TRUE);
   meta_init ();
+  g_unsetenv ("NO_AT_BRIDGE");
 
   /* FIXME: Add gjs API to set this stuff and don't depend on the
    * environment.  These propagate to child processes.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]