Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Ufimtsev2015-03-04 20:38:15 +0000
committerAlexander Kurtakov2015-03-12 10:27:40 +0000
commitf33dffd35460bbb5ed61c774ae7f89f06ed9eb7f (patch)
tree6589c032dd247c2771dcf87eb534d01fcfbae6d9 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
parentfa178f2b62440efe879306b93d060820738ed4b5 (diff)
downloadeclipse.platform.swt-f33dffd35460bbb5ed61c774ae7f89f06ed9eb7f.tar.gz
eclipse.platform.swt-f33dffd35460bbb5ed61c774ae7f89f06ed9eb7f.tar.xz
eclipse.platform.swt-f33dffd35460bbb5ed61c774ae7f89f06ed9eb7f.zip
Bug 461616 - Combo improvements in background/foreground for gtk3
Incremental change to make Combo use rgba for foreground on Gtk3. This also fixes combo's background for Gtk3, so that the Junit test now works in gtk3. object_set_..rgba required special attention. I added a line to os.h so that it would also compile on gtk2 (as the GdkRGBA in the paramater list is gtk3 only) Change-Id: Iacb608f773f54028bfacbb7d1e0b15d0567d14f1 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
index 0d3aa0060f..4f337a13ca 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
@@ -335,6 +335,11 @@ typedef enum {
_1g_1object_1set__J_3BLorg_eclipse_swt_internal_gtk_GdkColor_2J_FUNC,
#endif
#ifndef JNI64
+ _1g_1object_1set__I_3BLorg_eclipse_swt_internal_gtk_GdkRGBA_2I_FUNC,
+#else
+ _1g_1object_1set__J_3BLorg_eclipse_swt_internal_gtk_GdkRGBA_2J_FUNC,
+#endif
+#ifndef JNI64
_1g_1object_1set__I_3BZI_FUNC,
#else
_1g_1object_1set__J_3BZJ_FUNC,

Back to the top