/[classpath]/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
ViewVC logotype

Diff of /classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by fitzsim, Thu Jul 24 22:04:49 2003 UTC revision 1.7 by fitzsim, Wed Aug 6 15:05:29 2003 UTC
# Line 456  textcomponent_commit_cb (GtkIMContext *c Line 456  textcomponent_commit_cb (GtkIMContext *c
456                           const gchar  *str,                           const gchar  *str,
457                           jobject peer)                           jobject peer)
458  {  {
   void *ptr;  
   
459    /* str is a \0-terminated UTF-8 encoded character. */    /* str is a \0-terminated UTF-8 encoded character. */
460    gunichar2 *jc = g_utf8_to_utf16 (str, -1, NULL, NULL, NULL);    gunichar2 *jc = g_utf8_to_utf16 (str, -1, NULL, NULL, NULL);
461    
# Line 473  textcomponent_commit_cb (GtkIMContext *c Line 471  textcomponent_commit_cb (GtkIMContext *c
471                                  /* ... and assume no modifiers. */                                  /* ... and assume no modifiers. */
472                                  0,                                  0,
473                                  VK_UNDEFINED,                                  VK_UNDEFINED,
474                                  (jchar) jc[0]);                                  (jchar) jc[0],
475                                    AWT_KEY_LOCATION_UNKNOWN);
476    g_free (jc);    g_free (jc);
477  }  }
478    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26