[java-atk-wrapper] Build: fix unused param warning in Atk init functions
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] Build: fix unused param warning in Atk init functions
- Date: Sun, 19 Jul 2015 18:22:23 +0000 (UTC)
commit f50641cd1960528303be6b37a611e73a9d40d08d
Author: Magdalen Berns <m berns thismagpie com>
Date: Sun Jul 19 19:20:12 2015 +0100
Build: fix unused param warning in Atk init functions
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=752597
jni/src/AtkWrapper.c | 6 ++----
jni/src/AtkWrapper.h | 6 ++----
2 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/jni/src/AtkWrapper.c b/jni/src/AtkWrapper.c
index 308b561..b06568e 100644
--- a/jni/src/AtkWrapper.c
+++ b/jni/src/AtkWrapper.c
@@ -86,8 +86,7 @@ static gpointer jni_loop_callback(void *data)
}
JNIEXPORT jboolean
-JNICALL Java_org_GNOME_Accessibility_AtkWrapper_initNativeLibrary(JNIEnv *jniEnv,
- jclass jClass)
+JNICALL Java_org_GNOME_Accessibility_AtkWrapper_initNativeLibrary()
{
const gchar* debug_env = g_getenv("JAW_DEBUG");
if (g_strcmp0(debug_env, "1") == 0) {
@@ -113,8 +112,7 @@ JNICALL Java_org_GNOME_Accessibility_AtkWrapper_initNativeLibrary(JNIEnv *jniEnv
}
JNIEXPORT void
-JNICALL Java_org_GNOME_Accessibility_AtkWrapper_loadAtkBridge(JNIEnv *jniEnv,
- jclass jClass)
+JNICALL Java_org_GNOME_Accessibility_AtkWrapper_loadAtkBridge()
{
// Enable ATK Bridge so we can load it now
g_unsetenv ("NO_AT_BRIDGE");
diff --git a/jni/src/AtkWrapper.h b/jni/src/AtkWrapper.h
index 62fe562..1bac790 100644
--- a/jni/src/AtkWrapper.h
+++ b/jni/src/AtkWrapper.h
@@ -12,16 +12,14 @@ extern "C" {
* Method: initNativeLibrary
* Signature: ()Z
*/
-JNIEXPORT jboolean JNICALL Java_org_GNOME_Accessibility_AtkWrapper_initNativeLibrary
- (JNIEnv *, jclass);
+JNIEXPORT jboolean JNICALL Java_org_GNOME_Accessibility_AtkWrapper_initNativeLibrary(void);
/*
* Class: org_GNOME_Accessibility_AtkWrapper
* Method: loadAtkBridge
* Signature: ()V
*/
-JNIEXPORT void JNICALL Java_org_GNOME_Accessibility_AtkWrapper_loadAtkBridge
- (JNIEnv *, jclass);
+JNIEXPORT void JNICALL Java_org_GNOME_Accessibility_AtkWrapper_loadAtkBridge(void);
/*
* Class: org_GNOME_Accessibility_AtkWrapper
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]