diff options
Diffstat (limited to 'libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c')
-rw-r--r-- | libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c b/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c index 009eb351659..29689fb8c00 100644 --- a/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c +++ b/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c @@ -456,8 +456,6 @@ textcomponent_commit_cb (GtkIMContext *context, const gchar *str, jobject peer) { - void *ptr; - /* str is a \0-terminated UTF-8 encoded character. */ gunichar2 *jc = g_utf8_to_utf16 (str, -1, NULL, NULL, NULL); @@ -473,7 +471,8 @@ textcomponent_commit_cb (GtkIMContext *context, /* ... and assume no modifiers. */ 0, VK_UNDEFINED, - (jchar) jc[0]); + (jchar) jc[0], + AWT_KEY_LOCATION_UNKNOWN); g_free (jc); } |