[clutter-gtk] gtk-clutter-util: Disable accessibility in the post_parse_hook as well



commit a160c1ea1dc5f0f7b8a5e6a6b25a6df8c8a16228
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Apr 16 13:25:22 2014 -0400

    gtk-clutter-util: Disable accessibility in the post_parse_hook as well
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695737

 clutter-gtk/gtk-clutter-util.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-util.c b/clutter-gtk/gtk-clutter-util.c
index b7b7676..014c8f6 100644
--- a/clutter-gtk/gtk-clutter-util.c
+++ b/clutter-gtk/gtk-clutter-util.c
@@ -98,6 +98,11 @@ post_parse_hook (GOptionContext  *context,
 #endif
     g_error ("*** Unsupported backend.");
 
+  /* We disable clutter accessibility support in order to not
+   * interfere with gtk accessibility support.
+   */
+  clutter_disable_accessibility ();
+
   /* this is required since parsing clutter's option group did not
    * complete the initialization process
    */


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