[java-atk-wrapper] Note why jaw_util_detach is currently unused



commit a8e87fb002e421721d4403555f150d1239a255c4
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Mon Jun 10 20:32:16 2019 +0200

    Note why jaw_util_detach is currently unused

 jni/src/jawutil.c | 2 +-
 jni/src/jawutil.h | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/jni/src/jawutil.c b/jni/src/jawutil.c
index 59e7dd6..b25c38e 100644
--- a/jni/src/jawutil.c
+++ b/jni/src/jawutil.c
@@ -378,7 +378,7 @@ jaw_util_get_jni_env(void)
   return NULL;
 }
 
-void jaw_util_detach(void);
+/* Currently unused: our thread lives forever until application termination.  */
 void
 jaw_util_detach(void)
 {
diff --git a/jni/src/jawutil.h b/jni/src/jawutil.h
index e9cb4fb..14397a6 100644
--- a/jni/src/jawutil.h
+++ b/jni/src/jawutil.h
@@ -74,6 +74,8 @@ void jaw_util_get_rect_info(JNIEnv *jniEnv,
                             gint *height);
 gboolean jaw_util_dispatch_key_event (AtkKeyEventStruct *event);
 
+void jaw_util_detach(void);
+
 G_END_DECLS
 
 #endif


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