[java-atk-wrapper] use global_ac not lock in get/find instance
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] use global_ac not lock in get/find instance
- Date: Mon, 19 Jan 2015 18:55:33 +0000 (UTC)
commit 02cac3dd8b4651b43a05c3f99e1bc4b9837caef4
Author: Magdalen Berns <m berns thismagpie com>
Date: Mon Jan 19 18:54:31 2015 +0000
use global_ac not lock in get/find instance
bug: https://bugzilla.gnome.org/show_bug.cgi?id=743200
jni/src/AtkWrapper.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/jni/src/AtkWrapper.c b/jni/src/AtkWrapper.c
index 2d657f8..d186c4a 100644
--- a/jni/src/AtkWrapper.c
+++ b/jni/src/AtkWrapper.c
@@ -1030,7 +1030,7 @@ component_added_handler (gpointer p)
return FALSE;
}
- JawImpl* jaw_impl = jaw_impl_get_instance(jniEnv, lock);
+ JawImpl* jaw_impl = jaw_impl_get_instance(jniEnv, global_ac);
AtkObject* atk_obj = ATK_OBJECT(jaw_impl);
@@ -1079,7 +1079,7 @@ component_removed_handler (gpointer p)
return FALSE;
}
- JawImpl* jaw_impl = jaw_impl_find_instance(jniEnv, lock);
+ JawImpl* jaw_impl = jaw_impl_find_instance(jniEnv, global_ac);
if (!jaw_impl)
{
free_callback_para(para);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]