[java-atk-wrapper] Fix prototype of getAccessibleParent method



commit 64ef6464ce0b71f31379e28fe7fedf60d6fea330
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Mon Jun 17 21:13:13 2019 +0200

    Fix prototype of getAccessibleParent method

 jni/src/jawobject.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/jni/src/jawobject.c b/jni/src/jawobject.c
index 5d52fb5..ccf23fd 100644
--- a/jni/src/jawobject.c
+++ b/jni/src/jawobject.c
@@ -214,7 +214,7 @@ static AtkObject* jaw_object_get_parent(AtkObject *atk_obj)
   jmethodID jmid = (*jniEnv)->GetMethodID(jniEnv,
                                           classAccessibleContext,
                                           "getAccessibleParent",
-                                          "()Ljavax/accessibility/AccessibleContext;");
+                                          "()Ljavax/accessibility/Accessible;");
   jobject jparent = (*jniEnv)->CallObjectMethod( jniEnv, ac, jmid );
   (*jniEnv)->DeleteGlobalRef(jniEnv, ac);
   if (jparent != NULL )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]