gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on word wrapping.

2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
	word wrapping.

From-SVN: r73093
This commit is contained in:
Thomas Fitzsimmons 2003-10-30 17:37:33 +00:00 committed by Thomas Fitzsimmons
parent e0432c1c14
commit 54ab330316
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
word wrapping.
2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return

View File

@ -64,6 +64,8 @@ Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create
|| scroll == AWT_TEXTAREA_SCROLLBARS_VERTICAL_ONLY) ?
GTK_POLICY_ALWAYS : GTK_POLICY_NEVER);
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW(text), GTK_WRAP_WORD);
gdk_threads_leave ();
NSA_SET_PTR (env, obj, sw);