Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandr Miloslavskiy2019-06-18 09:59:07 +0000
committerEric Williams2019-06-20 13:23:51 +0000
commit2d8c4271d38bd3d3777f952bb1cd8cf99b3d9853 (patch)
treeac161606019188e6a954648860cb73b2e368d78d /bundles/org.eclipse.swt/Eclipse SWT PI
parent5a7ca38efb361afe4616cfe6bee65e67c33fb22d (diff)
downloadeclipse.platform.swt-2d8c4271d38bd3d3777f952bb1cd8cf99b3d9853.tar.gz
eclipse.platform.swt-2d8c4271d38bd3d3777f952bb1cd8cf99b3d9853.tar.xz
eclipse.platform.swt-2d8c4271d38bd3d3777f952bb1cd8cf99b3d9853.zip
Bug 548286: [GTK] Clean up system color CSS parsing
Remove GTK CSS parsing in favour of GtkStyleContext color extraction. Many thanks to Alexandr Miloslavskiy for his help with this effort! Change-Id: Id8dc44ec4116386c9b1bd2021c681c9a3923a35b Signed-off-by: Eric Williams <ericwill@redhat.com> Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java
index 892a8ba683..f0aa896c3c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java
@@ -149,6 +149,7 @@ public class GTK extends OS {
public static final int GTK_STATE_FLAG_INCONSISTENT = 1 << 4;
public static final int GTK_STATE_FLAG_FOCUSED = 1 << 5;
public static final int GTK_STATE_FLAG_BACKDROP = 1 << 6;
+ public static final int GTK_STATE_FLAG_LINK = 1 << 9;
public static final int GTK_TEXT_DIR_LTR = 1;
public static final int GTK_TEXT_DIR_NONE = 0 ;
public static final int GTK_TEXT_DIR_RTL = 2;

Back to the top