diff options
author | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-05 23:58:52 +0300 |
---|---|---|
committer | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-05 23:58:52 +0300 |
commit | 4cafd17e7e598f63d75f78de935b9f919356bee7 (patch) | |
tree | 9030d905bd7d134a7c7840e73067bc8404031963 | |
parent | f5042a3b096807a2b3d20ee3df34d9aa863c0ead (diff) | |
download | eclipse.platform.swt-4cafd17e7e598f63d75f78de935b9f919356bee7.tar.gz eclipse.platform.swt-4cafd17e7e598f63d75f78de935b9f919356bee7.tar.xz eclipse.platform.swt-4cafd17e7e598f63d75f78de935b9f919356bee7.zip |
Fix version check for GTK 3.0 not 3.2.
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/DrawData.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/DrawData.java b/bundles/org.eclipse.swt/Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/DrawData.java index 0888aaf3d2..073f8b894a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/DrawData.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/DrawData.java @@ -225,7 +225,7 @@ void gtk_render_layout (long /*int*/ style, long /*int*/ window, int state_type, } void gtk_render_focus (long /*int*/ style, long /*int*/ window, int state_type, GdkRectangle area, long /*int*/ widget, byte[] detail, int x , int y, int width, int height) { - if (OS.GTK_VERSION >= OS.VERSION(3, 2, 0)) { + if (OS.GTK_VERSION >= OS.VERSION(3, 0, 0)) { long /*int*/ cairo = OS.gdk_cairo_create (window); long /*int*/ context = OS.gtk_widget_get_style_context (style); OS.gtk_style_context_save (context); |