2012-12-27 06:06:30 +00:00
|
|
|
/* GTK+ - accessibility implementations
|
2007-12-18 13:51:12 +00:00
|
|
|
* Copyright 2001 Sun Microsystems Inc.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2012-02-27 13:01:10 +00:00
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
2007-12-18 13:51:12 +00:00
|
|
|
*/
|
|
|
|
|
2008-06-22 14:28:52 +00:00
|
|
|
#include "config.h"
|
2007-12-23 12:27:33 +00:00
|
|
|
|
2012-12-27 06:06:30 +00:00
|
|
|
#include "gtkaccessibility.h"
|
2012-12-27 06:12:35 +00:00
|
|
|
#include "gtkaccessibilityutil.h"
|
2012-12-27 06:14:15 +00:00
|
|
|
|
2012-06-26 13:41:33 +00:00
|
|
|
#ifdef GDK_WINDOWING_X11
|
2012-06-13 18:45:21 +00:00
|
|
|
#include <atk-bridge.h>
|
2012-06-22 17:29:03 +00:00
|
|
|
#endif
|
2007-12-18 13:51:12 +00:00
|
|
|
|
2012-09-14 18:12:36 +00:00
|
|
|
static int initialized = FALSE;
|
2007-12-18 13:51:12 +00:00
|
|
|
|
2011-06-17 04:11:00 +00:00
|
|
|
void
|
2011-07-09 20:43:39 +00:00
|
|
|
_gtk_accessibility_init (void)
|
2007-12-18 13:51:12 +00:00
|
|
|
{
|
2011-07-09 20:43:39 +00:00
|
|
|
if (initialized)
|
2011-07-08 20:37:07 +00:00
|
|
|
return;
|
|
|
|
|
2011-07-09 20:43:39 +00:00
|
|
|
initialized = TRUE;
|
2007-12-18 13:51:12 +00:00
|
|
|
|
2012-12-27 06:12:35 +00:00
|
|
|
_gtk_accessibility_override_atk_util ();
|
|
|
|
|
2012-06-26 13:41:33 +00:00
|
|
|
#ifdef GDK_WINDOWING_X11
|
2012-06-13 18:45:21 +00:00
|
|
|
atk_bridge_adaptor_init (NULL, NULL);
|
2012-06-22 17:29:03 +00:00
|
|
|
#endif
|
2011-07-09 02:52:03 +00:00
|
|
|
|
2007-12-18 13:51:12 +00:00
|
|
|
}
|