[java-atk-wrapper] uncomment gtk_threads functions
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] uncomment gtk_threads functions
- Date: Thu, 19 Feb 2015 17:20:35 +0000 (UTC)
commit 39a672b0a1a6ff74569a06a7877ea9696651cc3d
Author: Magdalen Berns <m berns thismagpie com>
Date: Thu Feb 19 17:19:55 2015 +0000
uncomment gtk_threads functions
https://bugzilla.gnome.org/show_bug.cgi?id=744805
jni/src/AtkWrapper.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/jni/src/AtkWrapper.c b/jni/src/AtkWrapper.c
index e3a5946..b8e11d2 100644
--- a/jni/src/AtkWrapper.c
+++ b/jni/src/AtkWrapper.c
@@ -1163,8 +1163,8 @@ JNICALL Java_org_GNOME_Accessibility_AtkWrapper_componentAdded(JNIEnv *jniEnv,
{
lock = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext);
CallbackPara *para = alloc_callback_para(lock);
- // gdk_threads_set_lock_functions(jni_threads_lock, jni_threads_unlock); FIXME
- // gdk_threads_init();
+ gdk_threads_set_lock_functions(jni_threads_lock, jni_threads_unlock);
+ gdk_threads_init();
g_idle_add(component_added_handler, para);
}
@@ -1217,8 +1217,8 @@ JNICALL Java_org_GNOME_Accessibility_AtkWrapper_componentRemoved(JNIEnv *jniEnv,
{
lock = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext);
CallbackPara *para = alloc_callback_para(lock);
- // gdk_threads_set_lock_functions(jni_threads_lock, jni_threads_unlock); //FIXME
- // gdk_threads_init();
+ gdk_threads_set_lock_functions(jni_threads_lock, jni_threads_unlock);
+ gdk_threads_init();
g_idle_add(component_removed_handler, para);
}
@@ -1302,7 +1302,7 @@ key_dispatch_handler (gpointer p)
jfieldID jfidTimestamp = (*jniEnv)->GetFieldID(jniEnv, classAtkKeyEvent, "timestamp", "I");
event->timestamp = (guint32)(*jniEnv)->GetIntField(jniEnv, jAtkKeyEvent, jfidTimestamp);
- gboolean b = jaw_util_dispatch_key_event (event); //FIXME
+ gboolean b = jaw_util_dispatch_key_event (event);
if(jaw_debug)
printf("key_dispatch_result b = %d\n ", b);
if (b) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]