diff options
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 | 4 |
1 files changed, 2 insertions, 2 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 65df4cbfe5..e311da5b7d 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 @@ -449,7 +449,7 @@ public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) { } long /*int*/ createCursor(byte[] sourceData, byte[] maskData, int width, int height, int hotspotX, int hotspotY, boolean reverse) { - if (OS.GTK3) { + if (GTK.GTK3) { for (int i = 0; i < sourceData.length; i++) { byte s = sourceData[i]; sourceData[i] = (byte)(((s & 0x80) >> 7) | @@ -610,7 +610,7 @@ public String toString () { } void gdk_cursor_unref (long /*int*/ cursor) { - if (OS.GTK3) { + if (GTK.GTK3) { OS.g_object_unref (cursor); } else { OS.gdk_cursor_unref(cursor); |