]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix gdk_region_polygon and gdk_region_rectangle bindings, patch by Víctor
authorJürg Billeter <j@bitron.ch>
Fri, 21 Nov 2008 08:47:42 +0000 (08:47 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Fri, 21 Nov 2008 08:47:42 +0000 (08:47 +0000)
2008-11-21  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gdk-2.0/:

Fix gdk_region_polygon and gdk_region_rectangle bindings,
patch by Víctor Manuel Jáquez Leal, fixes bug 561655

* vapi/gdk-2.0.vapi: regenerated

svn path=/trunk/; revision=2046

ChangeLog
vapi/gdk-2.0.vapi
vapi/packages/gdk-2.0/gdk-2.0.metadata

index 031e51a8c076f052c4491b56640cb02a5454825b..b2f89e3b9bb4ef2fc0fd9cc9c1c79a3bd514f515 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-11-21  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/packages/gdk-2.0/:
+
+       Fix gdk_region_polygon and gdk_region_rectangle bindings,
+       patch by Víctor Manuel Jáquez Leal, fixes bug 561655
+
+       * vapi/gdk-2.0.vapi: regenerated
+
 2008-11-21  Jürg Billeter  <j@bitron.ch>
 
        * vapi/dbus-glib-1.vapi:
index 367ab2de9f470655885b394459663dfe85104ae6..9956005ca1725173bb76507383c43cde3d1f5045 100644 (file)
@@ -1,4 +1,4 @@
-/* gdk-2.0.vapi generated by vapigen, do not modify. */
+/* gdk-2.0.vapi generated by lt-vapigen, do not modify. */
 
 [CCode (cprefix = "Gdk", lower_case_cprefix = "gdk_")]
 namespace Gdk {
@@ -17,7 +17,6 @@ namespace Gdk {
        public class Bitmap {
                public weak GLib.Object parent_instance;
                public static Gdk.Bitmap create_from_data (Gdk.Drawable drawable, string data, int width, int height);
-               public Bitmap ();
        }
        [CCode (cheader_filename = "gdk/gdk.h")]
        public class Colormap : GLib.Object {
@@ -343,9 +342,9 @@ namespace Gdk {
                public Region ();
                public void offset (int dx, int dy);
                public bool point_in (int x, int y);
-               public static weak Gdk.Region polygon (Gdk.Point[] points, Gdk.FillRule fill_rule);
+               public static Gdk.Region polygon (Gdk.Point[] points, Gdk.FillRule fill_rule);
                public Gdk.OverlapType rect_in (Gdk.Rectangle rectangle);
-               public static weak Gdk.Region rectangle (Gdk.Rectangle rectangle);
+               public static Gdk.Region rectangle (Gdk.Rectangle rectangle);
                public void shrink (int dx, int dy);
                public void spans_intersect_foreach (Gdk.Span[] spans, bool sorted, Gdk.SpanFunc function, void* data);
                public void subtract (Gdk.Region source2);
index f8e3b7fc1ebc815a24fff919a7dca01302080e4c..47abe8e3b6167141385a38a5e99e9cc19ef3929b 100644 (file)
@@ -56,6 +56,8 @@ gdk_property_get.actual_property_type is_out="1"
 GdkRectangle is_value_type="1"
 gdk_rectangle_union.dest is_out="1"
 gdk_region_get_clipbox.rectangle is_out="1"
+gdk_region_rectangle transfer_ownership="1"
+gdk_region_polygon transfer_ownership="1"
 gdk_rgb_find_color.color is_ref="1"
 GdkRgbCmap is_value_type="1"
 gdk_screen_get_monitor_geometry.dest is_out="1"