[vala] gdk-2.0: Mark Gdk.Region.get_rectangles rectangles param as out



commit d76b92301dc359a81820d383d8f0661fb3273168
Author: Evan Nemerson <evan coeus-group com>
Date:   Sat Mar 13 17:28:19 2010 -0800

    gdk-2.0: Mark Gdk.Region.get_rectangles rectangles param as out
    
    Fixes bug 612632.

 vapi/gdk-2.0.vapi                      |    2 +-
 vapi/packages/gdk-2.0/gdk-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index 332b11e..54406a4 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -415,7 +415,7 @@ namespace Gdk {
 		public bool empty ();
 		public bool equal (Gdk.Region region2);
 		public void get_clipbox (out Gdk.Rectangle rectangle);
-		public void get_rectangles (Gdk.Rectangle[] rectangles);
+		public void get_rectangles (out Gdk.Rectangle[] rectangles);
 		public void intersect (Gdk.Region source2);
 		public void offset (int dx, int dy);
 		public bool point_in (int x, int y);
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index 68669dd..c9980df 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -84,6 +84,7 @@ GdkRectangle is_value_type="1"
 gdk_rectangle_union.dest is_out="1"
 gdk_region_copy transfer_ownership="1"
 gdk_region_get_clipbox.rectangle is_out="1"
+gdk_region_get_rectangles.rectangles is_array="1" is_out="1" transfer_ownership="1"
 gdk_region_rectangle transfer_ownership="1"
 gdk_region_polygon transfer_ownership="1"
 gdk_rgb_find_color.color is_ref="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]