aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/IOSNewtUIWindow.m
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-09-10 01:38:08 +0200
committerSven Gothel <[email protected]>2019-09-10 01:38:08 +0200
commit9332937b86f329f483f3281780278c275b422e39 (patch)
tree90caf12fa2579502f7b93a472d977209125b82f6 /src/newt/native/IOSNewtUIWindow.m
parent7e76df3a05b7eb2404cb4584ee0b34ea287eb9bf (diff)
NEWT Cleanup: WindowImpl::visibleChanged(ZZ): Remove unused 'defer' argument. Method only changes state.
Diffstat (limited to 'src/newt/native/IOSNewtUIWindow.m')
-rw-r--r--src/newt/native/IOSNewtUIWindow.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/native/IOSNewtUIWindow.m b/src/newt/native/IOSNewtUIWindow.m
index c20dad1a8..c9895a994 100644
--- a/src/newt/native/IOSNewtUIWindow.m
+++ b/src/newt/native/IOSNewtUIWindow.m
@@ -443,7 +443,7 @@ static jmethodID windowRepaintID = NULL;
sendTouchScreenEventID = (*env)->GetMethodID(env, clazz, "sendTouchScreenEvent", "(SI[I[S[I[I[I[FF)V");
sizeChangedID = (*env)->GetMethodID(env, clazz, "sizeChanged", "(ZIIZ)V");
updatePixelScaleID = (*env)->GetMethodID(env, clazz, "updatePixelScale", "(ZFFFZ)V");
- visibleChangedID = (*env)->GetMethodID(env, clazz, "visibleChanged", "(ZZ)V");
+ visibleChangedID = (*env)->GetMethodID(env, clazz, "visibleChanged", "(Z)V");
insetsChangedID = (*env)->GetMethodID(env, clazz, "insetsChanged", "(ZIIII)V");
sizeScreenPosInsetsChangedID = (*env)->GetMethodID(env, clazz, "sizeScreenPosInsetsChanged", "(ZIIIIIIIIZZ)V");
screenPositionChangedID = (*env)->GetMethodID(env, clazz, "screenPositionChanged", "(ZII)V");
@@ -823,7 +823,7 @@ static jmethodID windowRepaintID = NULL;
DBG_PRINT("visibilityChanged: null JNIEnv\n");
return;
}
- (*env)->CallVoidMethod(env, javaWindowObject, visibleChangedID, JNI_FALSE, (visible == YES) ? JNI_TRUE : JNI_FALSE);
+ (*env)->CallVoidMethod(env, javaWindowObject, visibleChangedID, (visible == YES) ? JNI_TRUE : JNI_FALSE);
// detaching thread not required - daemon
// NewtCommon_ReleaseJNIEnv(shallBeDetached);