diff options
author | Anatoly Spektor | 2013-02-07 20:35:15 +0000 |
---|---|---|
committer | Carolyn MacLeod | 2013-04-09 14:53:19 +0000 |
commit | 9773968d71412d18fa6ac3c9de14ec5a55198936 (patch) | |
tree | 8816491223fcda58008652134ebb6100c3e69d54 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | |
parent | 29684603fffab4ad8c3a83262b2219c9512be90a (diff) | |
download | eclipse.platform.swt-9773968d71412d18fa6ac3c9de14ec5a55198936.tar.gz eclipse.platform.swt-9773968d71412d18fa6ac3c9de14ec5a55198936.tar.xz eclipse.platform.swt-9773968d71412d18fa6ac3c9de14ec5a55198936.zip |
This patch solves clipping and wrong default sizing of GtkEntry in GTK3
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c index e96c1426d7..b579c98c0b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c @@ -10027,6 +10027,16 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1entry_1set_1visibility) } #endif +#ifndef NO__1gtk_1entry_1set_1width_1chars +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1entry_1set_1width_1chars) + (JNIEnv *env, jclass that, jintLong arg0, jint arg1) +{ + OS_NATIVE_ENTER(env, that, _1gtk_1entry_1set_1width_1chars_FUNC); + gtk_entry_set_width_chars((GtkEntry *)arg0, (gint)arg1); + OS_NATIVE_EXIT(env, that, _1gtk_1entry_1set_1width_1chars_FUNC); +} +#endif + #ifndef NO__1gtk_1entry_1text_1index_1to_1layout_1index JNIEXPORT jint JNICALL OS_NATIVE(_1gtk_1entry_1text_1index_1to_1layout_1index) (JNIEnv *env, jclass that, jintLong arg0, jint arg1) |