Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2013-08-12 21:18:11 +0000
committerAlexander Kurtakov2013-08-12 21:18:11 +0000
commit0abcaf5e238ad1d67e0ff4fd7f34e24c72e4a2bf (patch)
tree1e8bf1fbad39f94b16906dfddee6129a9de8c36b /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
parentfd32011a7860d05165130ff95403fe0b8b252577 (diff)
downloadeclipse.platform.swt-0abcaf5e238ad1d67e0ff4fd7f34e24c72e4a2bf.tar.gz
eclipse.platform.swt-0abcaf5e238ad1d67e0ff4fd7f34e24c72e4a2bf.tar.xz
eclipse.platform.swt-0abcaf5e238ad1d67e0ff4fd7f34e24c72e4a2bf.zip
Bug 414643 - GTK3 - Duplicated Items in the Combo
Remaining work to call proper method instead of gtk_combo_box_remove_text on GTK 3.x. Change-Id: Ia0cafb8b5692e8032d7ddc8178e1f4f0b089f1e2 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.c18
1 files changed, 18 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 0a0a201990..b796a706e0 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
@@ -9392,6 +9392,24 @@ JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1combo_1box_1text_1new_1with_1entry)
}
#endif
+#ifndef NO__1gtk_1combo_1box_1text_1remove
+JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1combo_1box_1text_1remove)
+ (JNIEnv *env, jclass that, jintLong arg0, jint arg1)
+{
+ OS_NATIVE_ENTER(env, that, _1gtk_1combo_1box_1text_1remove_FUNC);
+/*
+ gtk_combo_box_text_remove(arg0, arg1);
+*/
+ {
+ OS_LOAD_FUNCTION(fp, gtk_combo_box_text_remove)
+ if (fp) {
+ ((void (CALLING_CONVENTION*)(jintLong, jint))fp)(arg0, arg1);
+ }
+ }
+ OS_NATIVE_EXIT(env, that, _1gtk_1combo_1box_1text_1remove_FUNC);
+}
+#endif
+
#ifndef NO__1gtk_1combo_1box_1text_1remove_1all
JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1combo_1box_1text_1remove_1all)
(JNIEnv *env, jclass that, jintLong arg0)

Back to the top