[gtk+] We're no longer a module



commit 77db52ac9a66b59d35e07b64d16b040d7afcc343
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 8 16:37:07 2011 -0400

    We're no longer a module
    
    And we don't support not loading the module anymore, either.
    So take out the code that looks at environment variables for
    that purpose, and don't print a misleading message about
    module loading.

 gtk/a11y/gail.c |   16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/gtk/a11y/gail.c b/gtk/a11y/gail.c
index 3d0c864..f15e878 100644
--- a/gtk/a11y/gail.c
+++ b/gtk/a11y/gail.c
@@ -26,7 +26,6 @@
 #include "gailtoplevel.h"
 #include "gailutil.h"
 
-#define GNOME_ACCESSIBILITY_ENV "GNOME_ACCESSIBILITY"
 
 static gboolean gail_focus_watcher      (GSignalInvocationHint *ihint,
                                          guint                  n_param_values,
@@ -790,23 +789,12 @@ static int gail_initialized = FALSE;
 void
 gail_accessibility_module_init (void)
 {
-  const char *env_a_t_support;
-  gboolean a_t_support = FALSE;
-
   if (gail_initialized)
-    {
-      return;
-    }
+    return;
+
   gail_initialized = TRUE;
   quark_focus_object = g_quark_from_static_string ("gail-focus-object");
 
-  env_a_t_support = g_getenv (GNOME_ACCESSIBILITY_ENV);
-
-  if (env_a_t_support)
-    a_t_support = atoi (env_a_t_support);
-  if (a_t_support)
-    fprintf (stderr, "GTK Accessibility Module initialized\n");
-
   atk_focus_tracker_init (gail_focus_tracker_init);
   focus_tracker_id = atk_add_focus_tracker (gail_focus_tracker);
 



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