diff options
author | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-16 10:46:31 +0300 |
---|---|---|
committer | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-16 10:46:31 +0300 |
commit | 801ec1483559446c0d86f80fed29f2453a706def (patch) | |
tree | c3dec3f3e692925364a1d3b43ad0df35765d4922 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Cursor.java | |
parent | a3e032800e98721779dad6898ea6e135501045b9 (diff) | |
download | eclipse.platform.swt-801ec1483559446c0d86f80fed29f2453a706def.tar.gz eclipse.platform.swt-801ec1483559446c0d86f80fed29f2453a706def.tar.xz eclipse.platform.swt-801ec1483559446c0d86f80fed29f2453a706def.zip |
Remove Gtk 2.2-2.4 checks.
Now that we require 2.6.0+ it makes no sense to clutter the code with
useless checks.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Cursor.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Cursor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Cursor.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Cursor.java index c473b56e38..62388650ba 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Cursor.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Cursor.java @@ -291,7 +291,7 @@ public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) { SWT.error(SWT.ERROR_INVALID_ARGUMENT); } long /*int*/ display = 0; - if (OS.GTK_VERSION >= OS.VERSION(2, 4, 0) && OS.gdk_display_supports_cursor_color(display = OS.gdk_display_get_default ())) { + if (OS.gdk_display_supports_cursor_color(display = OS.gdk_display_get_default ())) { int width = source.width; int height = source.height; PaletteData palette = source.palette; |