diff options
author | Kevin Barnes | 2007-08-20 13:26:52 +0000 |
---|---|---|
committer | Kevin Barnes | 2007-08-20 13:26:52 +0000 |
commit | 229680b34d18ff8af8db830a547688a5ec5b5279 (patch) | |
tree | 9b7ed4db15abd391a55cf8569361a45f325c9388 | |
parent | 93992b10836e9954089956cae45843346b6ea8bf (diff) | |
download | eclipse.platform.swt-229680b34d18ff8af8db830a547688a5ec5b5279.tar.gz eclipse.platform.swt-229680b34d18ff8af8db830a547688a5ec5b5279.tar.xz eclipse.platform.swt-229680b34d18ff8af8db830a547688a5ec5b5279.zip |
/*long*/
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java | 2 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java index 6033019930..fb888e3914 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java @@ -206,7 +206,7 @@ void checkGC (int mask) { } if (pattern != null) { if ((data.style & SWT.MIRRORED) != 0 && pattern.surface != 0) { - int newPattern = Cairo.cairo_pattern_create_for_surface(pattern.surface); + int /*long*/ newPattern = Cairo.cairo_pattern_create_for_surface(pattern.surface); if (newPattern == 0) SWT.error(SWT.ERROR_NO_HANDLES); Cairo.cairo_pattern_set_extend(newPattern, Cairo.CAIRO_EXTEND_REPEAT); double[] matrix = {-1, 0, 0, 1, 0, 0}; diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java index abacfa1c33..d99f08d8b0 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java @@ -764,7 +764,7 @@ void fixShell (Shell newShell, Control control) { int /*long*/ fixedSizeAllocateProc(int /*long*/ widget, int /*long*/ allocationPtr) { int clientWidth = 0; if ((style & SWT.MIRRORED) != 0) clientWidth = getClientWidth (); - int result = super.fixedSizeAllocateProc (widget, allocationPtr); + int /*long*/ result = super.fixedSizeAllocateProc (widget, allocationPtr); if ((style & SWT.MIRRORED) != 0) moveChildren (clientWidth); return result; } |