diff options
author | Alexander Kurtakov | 2019-05-09 05:49:59 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2019-05-09 05:49:59 +0000 |
commit | 3e03fdee49752a153d59a3a1481c0677016d2bf4 (patch) | |
tree | b63b7ce966458ea2f614c363846e2ccc2c5c973a /tests | |
parent | 27d38ab20e1dde2f865dc1d5f597c41ccdf3ccda (diff) | |
download | eclipse.platform.swt-3e03fdee49752a153d59a3a1481c0677016d2bf4.tar.gz eclipse.platform.swt-3e03fdee49752a153d59a3a1481c0677016d2bf4.tar.xz eclipse.platform.swt-3e03fdee49752a153d59a3a1481c0677016d2bf4.zip |
Use static method directly.
Change-Id: I811f84a37064c0bc9f8faf93401bb347d084d8b9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug546274_StyledTextVMCrash.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug546274_StyledTextVMCrash.java b/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug546274_StyledTextVMCrash.java index 878da10e23..ccd71a55ff 100644 --- a/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug546274_StyledTextVMCrash.java +++ b/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug546274_StyledTextVMCrash.java @@ -17,6 +17,7 @@ import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.Image; +import org.eclipse.swt.internal.C; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; @@ -65,7 +66,7 @@ public class Bug546274_StyledTextVMCrash { // Make sure the same malloc() block can't be used again for (int i = 1; i < 1024; i++) { // Intentional leak - org.eclipse.swt.internal.gtk.GTK.malloc(i); + C.malloc(i); } super.scroll(destX, destY, x, y, width, height, all); |