From 4cafd17e7e598f63d75f78de935b9f919356bee7 Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Fri, 5 Oct 2012 23:58:52 +0300 Subject: Fix version check for GTK 3.0 not 3.2. --- .../Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/DrawData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit