From: Mike Gorse Date: Mon, 25 Jun 2012 22:36:28 +0000 (-0500) Subject: Reinstate gnome_accessibility_module_init/shutdown for the gtk 3 module X-Git-Tag: AT_SPI2_ATK_2_12_0~105 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=650ec5e2cdd81fabf288e61e80c6ce8226fed9cc Reinstate gnome_accessibility_module_init/shutdown for the gtk 3 module Removing gnome_accessibility_module_init/shutdown will break Unity, for one, and there is no real reason to remove it, other than it being an old API that is to be deprecated and should not be needed anymore, but the new API is not necessarily finalized, so might as well reinstate the old method for now until we are certain what the new API will be and can then request that, ie, Unity be patched accordingly. --- diff --git a/atk-adaptor/gtk-3.0/module.c b/atk-adaptor/gtk-3.0/module.c index 97929d9..d2a49ee 100644 --- a/atk-adaptor/gtk-3.0/module.c +++ b/atk-adaptor/gtk-3.0/module.c @@ -43,3 +43,20 @@ g_module_check_init (GModule *module) return NULL; } + +void +gnome_accessibility_module_init (void) +{ + atk_bridge_adaptor_init (NULL, NULL); + + if (g_getenv ("AT_SPI_DEBUG")) + { + g_print ("Atk Accessibility bridge initialized\n"); + } +} + +void +gnome_accessibility_module_shutdown (void) +{ + atk_bridge_adaptor_cleanup (); +}