summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti <silenio_quarti@ca.ibm.com>2012-08-28 15:50:08 -0400
committerSilenio Quarti <silenio_quarti@ca.ibm.com>2012-08-28 15:50:08 -0400
commit6ea09f504fe041d4277f643bd1170ea0bc33eba5 (patch)
treeb38438293c70824c92ffd1345b2c51b8c9aff378
parentce67da633501ca7f46ae5739cc12b5af84e7fa58 (diff)
downloadeclipse.platform.swt-6ea09f504fe041d4277f643bd1170ea0bc33eba5.tar.gz
eclipse.platform.swt-6ea09f504fe041d4277f643bd1170ea0bc33eba5.tar.xz
eclipse.platform.swt-6ea09f504fe041d4277f643bd1170ea0bc33eba5.zip
wrong version test.
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java
index 1ee867b046..2dd7b19b88 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java
@@ -265,7 +265,7 @@ void createHandle (int index) {
OS.gtk_widget_set_app_paintable (handle, true);
OS.gtk_window_set_type_hint (handle, OS.GDK_WINDOW_TYPE_HINT_TOOLTIP);
} else {
- if (OS.GTK_VERSION >= OS.VERSION (2, 12, 0)) {
+ if (OS.GTK_VERSION < OS.VERSION (2, 12, 0)) {
state |= HANDLE;
handle = OS.gtk_tooltips_new ();
if (handle == 0) error (SWT.ERROR_NO_HANDLES);