diff options
author | Silenio Quarti | 2012-10-27 05:02:15 +0000 |
---|---|---|
committer | Silenio Quarti | 2012-10-27 05:02:15 +0000 |
commit | 354a76dfccd46a9eef5509ef57af4343bc6283f4 (patch) | |
tree | bed290260ad06b6e1d85a95b6d6a966d3a0bc002 | |
parent | 0711daa9cf17bf7e11fc7d6bfe829a01982032f7 (diff) | |
download | eclipse.platform.swt-354a76dfccd46a9eef5509ef57af4343bc6283f4.tar.gz eclipse.platform.swt-354a76dfccd46a9eef5509ef57af4343bc6283f4.tar.xz eclipse.platform.swt-354a76dfccd46a9eef5509ef57af4343bc6283f4.zip |
forgot to return
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Region.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Region.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Region.java index c06711ca2e..e68971a084 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Region.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Region.java @@ -126,6 +126,7 @@ static long /*int*/ gdk_region_polygon(int[] pointArray, int npoints, int fill_r static void gdk_region_get_rectangles(long /*int*/ region, long /*int*/[] rectangles, int[] n_rectangles) { if (OS.GTK_VERSION < OS.VERSION(3, 0, 0)) { OS.gdk_region_get_rectangles (region, rectangles, n_rectangles); + return; } int num = Cairo.cairo_region_num_rectangles (region); rectangles[0] = OS.g_malloc(GdkRectangle.sizeof * num); |