[java-atk-wrapper] jawtext: remove commented out code
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] jawtext: remove commented out code
- Date: Thu, 20 Nov 2014 17:47:19 +0000 (UTC)
commit fb96ed776835a82805ae6bcf655ea169add4839b
Author: Magdalen Berns <m berns thismagpie com>
Date: Thu Nov 20 17:46:49 2014 +0000
jawtext: remove commented out code
jni/src/jawtext.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/jni/src/jawtext.c b/jni/src/jawtext.c
index 0959c54..0204e55 100644
--- a/jni/src/jawtext.c
+++ b/jni/src/jawtext.c
@@ -160,17 +160,6 @@ jaw_text_data_finalize (gpointer p)
static gchar*
jaw_text_get_gtext_from_jstr (JNIEnv *jniEnv, TextData *data, jstring jstr)
{
- /*if (data->text != NULL) {
- (*jniEnv)->ReleaseStringUTFChars(jniEnv, data->jstrText, data->text);
- (*jniEnv)->DeleteGlobalRef(jniEnv, data->jstrText);
- data->text = NULL;
- }
-
- if (jstr != NULL) {
- data->jstrText = (*jniEnv)->NewGlobalRef(jniEnv, jstr);
- data->text = (gchar*)(*jniEnv)->GetStringUTFChars( jniEnv, data->jstrText, NULL );
- }*/
-
if (jstr == NULL)
{
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]