summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/java-gnome/libgtk-java/textbuffer.patch
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-11-01 22:56:37 +0100
committerRene Wagner <rw@handhelds.org>2006-11-01 22:56:37 +0100
commit2e763870f4634886b65fc0fbb8c4c8366162ab24 (patch)
tree9d95deaba86ffaa5e45835d78d16762fab54116e /org.handhelds.familiar/packages/java-gnome/libgtk-java/textbuffer.patch
parentb492863e15325032f4734aec08209761b8fff5ac (diff)
Add libgtk-java and libglade-java
Signed-off-by: Rene Wagner <rw@handhelds.org>
Diffstat (limited to 'org.handhelds.familiar/packages/java-gnome/libgtk-java/textbuffer.patch')
-rw-r--r--org.handhelds.familiar/packages/java-gnome/libgtk-java/textbuffer.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/java-gnome/libgtk-java/textbuffer.patch b/org.handhelds.familiar/packages/java-gnome/libgtk-java/textbuffer.patch
new file mode 100644
index 0000000..0db37f0
--- /dev/null
+++ b/org.handhelds.familiar/packages/java-gnome/libgtk-java/textbuffer.patch
@@ -0,0 +1,11 @@
+--- libgtk-java-2.6.2/src/jni/org_gnu_gtk_TextBuffer.c.orig 2005-09-30 22:50:27.000000000 +0200
++++ libgtk-java-2.6.2/src/jni/org_gnu_gtk_TextBuffer.c 2005-09-30 23:55:30.000000000 +0200
+@@ -120,7 +120,7 @@
+ const char *utf = (*env)->GetStringUTFChars(env, text, NULL);
+ jint len = (*env)->GetStringUTFLength(env, text);
+ gtk_text_buffer_insert_at_cursor (buffer_g,
+- (gchar*)utf, (gint32)len);
++ (gchar*)utf, (gint32)len - 1);
+ (*env)->ReleaseStringUTFChars(env, text, utf);
+ }
+