diff options
author | Alexander Kurtakov | 2014-07-10 06:06:28 +0000 |
---|---|---|
committer | Arun Thondapu | 2014-07-14 17:41:28 +0000 |
commit | faa3866df482c0e42ac5b308a5551882f833a3aa (patch) | |
tree | 0965f987fd1125b01f0ca416c776cf065fce8d46 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | |
parent | b620b5abfaa9120ea177a1886fba7a6eb0cca2c4 (diff) | |
download | eclipse.platform.swt-faa3866df482c0e42ac5b308a5551882f833a3aa.tar.gz eclipse.platform.swt-faa3866df482c0e42ac5b308a5551882f833a3aa.tar.xz eclipse.platform.swt-faa3866df482c0e42ac5b308a5551882f833a3aa.zip |
Bug 438992 - Combo dropdown has empty space at top
Setting wrap_width also trims the empty whitespace on top for combo
popup.
Change-Id: I073d1ccef913de8f1ccfa0ff1eb09538606f8f74
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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 89185b9a49..813f451767 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 @@ -9970,6 +9970,16 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1combo_1box_1set_1focus_1on_1click) } #endif +#ifndef NO__1gtk_1combo_1box_1set_1wrap_1width +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1combo_1box_1set_1wrap_1width) + (JNIEnv *env, jclass that, jintLong arg0, jint arg1) +{ + OS_NATIVE_ENTER(env, that, _1gtk_1combo_1box_1set_1wrap_1width_FUNC); + gtk_combo_box_set_wrap_width((GtkComboBox *)arg0, (gint)arg1); + OS_NATIVE_EXIT(env, that, _1gtk_1combo_1box_1set_1wrap_1width_FUNC); +} +#endif + #ifndef NO__1gtk_1combo_1box_1text_1insert JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1combo_1box_1text_1insert) (JNIEnv *env, jclass that, jintLong arg0, jint arg1, jbyteArray arg2, jbyteArray arg3) |