[java-atk-wrapper] JNI: Create jaw_impl_get_atk_relation_type_from_java_key
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] JNI: Create jaw_impl_get_atk_relation_type_from_java_key
- Date: Tue, 9 Jun 2015 15:04:09 +0000 (UTC)
commit eaed79412e7d655c5a061d7c6eb8c7b5855121e5
Author: Magdalen Berns <m berns thismagpie com>
Date: Tue Jun 9 16:03:14 2015 +0100
JNI: Create jaw_impl_get_atk_relation_type_from_java_key
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=750641
jni/src/jawimpl.c | 6 ++++++
jni/src/jawimpl.h | 2 ++
jni/src/jawobject.c | 2 +-
3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/jni/src/jawimpl.c b/jni/src/jawimpl.c
index 9ca242f..7b56f53 100644
--- a/jni/src/jawimpl.c
+++ b/jni/src/jawimpl.c
@@ -662,6 +662,12 @@ get_atk_relation_type_from_java_key (JNIEnv *jniEnv, jstring jrel_key)
return ATK_RELATION_NULL;
}
+AtkRelationType
+jaw_impl_get_atk_relation_type_from_java_key (JNIEnv *jniEnv, jstring jrel_key)
+{
+ return get_atk_relation_type_from_java_key (jniEnv, jrel_key);
+}
+
#ifdef __cplusplus
}
#endif
diff --git a/jni/src/jawimpl.h b/jni/src/jawimpl.h
index be88935..38e457b 100644
--- a/jni/src/jawimpl.h
+++ b/jni/src/jawimpl.h
@@ -58,6 +58,8 @@ struct _JawImplClass
JawObjectClass parent_class;
};
+AtkRelationType jaw_impl_get_atk_relation_type_from_java_key (JNIEnv *jniEnv, jstring jrel_key);
+
G_END_DECLS
#endif
diff --git a/jni/src/jawobject.c b/jni/src/jawobject.c
index 4bd8040..4dfe1ec 100644
--- a/jni/src/jawobject.c
+++ b/jni/src/jawobject.c
@@ -404,7 +404,7 @@ jaw_object_ref_relation_set (AtkObject *atk_obj)
"getKey",
"()Ljava/lang/String;");
jstring jrel_key = (*jniEnv)->CallObjectMethod( jniEnv, jrel, jmid );
- AtkRelationType rel_type = get_atk_relation_type_from_java_key(jniEnv, jrel_key);
+ AtkRelationType rel_type = jaw_impl_get_atk_relation_type_from_java_key(jniEnv, jrel_key);
jmid = (*jniEnv)->GetMethodID(jniEnv,
classAccessibleRelation,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]