[java-atk-wrapper] Init atk_bridge_adaptor in a standard way
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] Init atk_bridge_adaptor in a standard way
- Date: Wed, 31 Dec 2014 21:09:22 +0000 (UTC)
commit 49d93f3c1a5a434f94af0804a2a93d6e8c709987
Author: Magdalen Berns <m berns thismagpie com>
Date: Wed Dec 31 21:08:42 2014 +0000
Init atk_bridge_adaptor in a standard way
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=742165
jni/src/AtkWrapper.c | 7 +++++--
jni/src/jawobject.h | 1 +
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/jni/src/AtkWrapper.c b/jni/src/AtkWrapper.c
index 592289a..c885f0d 100644
--- a/jni/src/AtkWrapper.c
+++ b/jni/src/AtkWrapper.c
@@ -177,8 +177,11 @@ JNICALL Java_org_GNOME_Accessibility_AtkWrapper_initNativeLibrary(JNIEnv *jniEnv
XInitThreads();
return JNI_FALSE;
}
-
- atk_bridge_adaptor_init();
+ atk_bridge_adaptor_init(NULL,NULL);
+ if (g_getenv ("AT_SPI_DEBUG"))
+ {
+ g_print ("Atk Accessibility bridge initialized\n");
+ }
jaw_impl_init_mutex();
diff --git a/jni/src/jawobject.h b/jni/src/jawobject.h
index ab13a56..0709f79 100644
--- a/jni/src/jawobject.h
+++ b/jni/src/jawobject.h
@@ -21,6 +21,7 @@
#define _JAW_OBJECT_H_
#include <atk/atk.h>
+#include <atk-bridge.h>
#include <jni.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]