[vala/staging] Regenerate GIR-based bindings to pick up copy/free attributes



commit b8c28eb578a164c1dbd1e14dc049f9d31d91ec01
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Oct 8 14:05:17 2019 +0200

    Regenerate GIR-based bindings to pick up copy/free attributes
    
    Fixes https://gitlab.gnome.org/GNOME/vala/issues/863

 vapi/atk.vapi                  |  2 +-
 vapi/atspi-2.vapi              |  2 +-
 vapi/clutter-1.0.vapi          | 30 +++++++++++++++---------------
 vapi/gdk-3.0.vapi              |  6 +++---
 vapi/goocanvas-2.0.vapi        |  2 +-
 vapi/graphene-gobject-1.0.vapi | 34 +++++++++++++++++-----------------
 vapi/gtk+-3.0.vapi             | 10 +++++-----
 vapi/gtk4.vapi                 | 12 ++++++------
 vapi/pango.vapi                |  6 +++---
 vapi/poppler-glib.vapi         |  2 +-
 10 files changed, 53 insertions(+), 53 deletions(-)
---
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index 4d4436438..d0ecbb9bb 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -587,7 +587,7 @@ namespace Atk {
                public GLib.Value old_value;
                public GLib.Value new_value;
        }
-       [CCode (cheader_filename = "atk/atk.h", type_id = "atk_rectangle_get_type ()")]
+       [CCode (cheader_filename = "atk/atk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "atk_rectangle_get_type ()")]
        public struct Rectangle {
                public int x;
                public int y;
diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi
index 094f20c29..957249fd7 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -399,7 +399,7 @@ namespace Atspi {
        [SimpleType]
        public struct ControllerEventMask : uint {
        }
-       [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_event_get_type ()")]
+       [CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "atspi_device_event_get_type ()")]
        public struct DeviceEvent {
                public Atspi.EventType type;
                public uint id;
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 8a9299468..80a1fc36a 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -8097,7 +8097,7 @@ namespace Clutter {
                [NoWrapper]
                public abstract void unrealize ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_actor_box_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_actor_box_get_type ()")]
        public struct ActorBox {
                public float x1;
                public float y1;
@@ -8155,7 +8155,7 @@ namespace Clutter {
                public bool prev (out unowned Clutter.Actor child);
                public void remove ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "CLUTTER_TYPE_COLOR")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "CLUTTER_TYPE_COLOR")]
        public struct Color {
                public uint8 red;
                public uint8 green;
@@ -8195,13 +8195,13 @@ namespace Clutter {
                [Version (since = "0.2")]
                public string to_string ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_fog_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_fog_get_type ()")]
        [Version (deprecated = true, deprecated_since = "1.10", since = "0.6")]
        public struct Fog {
                public float z_near;
                public float z_far;
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_geometry_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_geometry_get_type ()")]
        [Version (deprecated = true, deprecated_since = "1.16")]
        public struct Geometry {
                public int x;
@@ -8213,7 +8213,7 @@ namespace Clutter {
                [Version (since = "1.4")]
                public Clutter.Geometry union (Clutter.Geometry geometry_b);
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_knot_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_knot_get_type ()")]
        [Version (since = "0.2")]
        public struct Knot {
                public int x;
@@ -8222,7 +8222,7 @@ namespace Clutter {
                public bool equal (Clutter.Knot knot_b);
                public void free ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_margin_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_margin_get_type ()")]
        [Version (since = "1.10")]
        public struct Margin {
                public float left;
@@ -8232,7 +8232,7 @@ namespace Clutter {
                public Clutter.Margin? copy ();
                public void free ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_matrix_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_matrix_get_type ()")]
        [Version (since = "1.12")]
        public struct Matrix : Cogl.Matrix {
                public static Clutter.Matrix? alloc ();
@@ -8241,7 +8241,7 @@ namespace Clutter {
                public unowned Clutter.Matrix? init_from_matrix (Clutter.Matrix b);
                public unowned Clutter.Matrix? init_identity ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_paint_volume_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_paint_volume_get_type ()")]
        [Version (since = "1.4")]
        public struct PaintVolume {
                [Version (since = "1.6")]
@@ -8271,7 +8271,7 @@ namespace Clutter {
                [Version (since = "1.10")]
                public void union_box (Clutter.ActorBox box);
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_path_node_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_path_node_get_type ()")]
        [Version (since = "1.0")]
        public struct PathNode {
                public Clutter.PathNodeType type;
@@ -8281,7 +8281,7 @@ namespace Clutter {
                public bool equal (Clutter.PathNode node_b);
                public void free ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_perspective_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_perspective_get_type ()")]
        [Version (since = "0.4")]
        public struct Perspective {
                public float fovy;
@@ -8289,7 +8289,7 @@ namespace Clutter {
                public float z_near;
                public float z_far;
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_point_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_point_get_type ()")]
        [Version (since = "1.12")]
        public struct Point {
                public float x;
@@ -8302,7 +8302,7 @@ namespace Clutter {
                public unowned Clutter.Point? init (float x, float y);
                public static unowned Clutter.Point? zero ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_rect_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_rect_get_type ()")]
        [Version (since = "1.12")]
        public struct Rect {
                public Clutter.Point origin;
@@ -8327,7 +8327,7 @@ namespace Clutter {
                public Clutter.Rect union (Clutter.Rect b);
                public static unowned Clutter.Rect? zero ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_size_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_size_get_type ()")]
        [Version (since = "1.12")]
        public struct Size {
                public float width;
@@ -8337,7 +8337,7 @@ namespace Clutter {
                public bool equals (Clutter.Size b);
                public void free ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "CLUTTER_TYPE_UNITS")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "CLUTTER_TYPE_UNITS")]
        [Version (since = "1.0")]
        public struct Units {
                public Clutter.Units? copy ();
@@ -8361,7 +8361,7 @@ namespace Clutter {
                public float to_pixels ();
                public string to_string ();
        }
-       [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_vertex_get_type ()")]
+       [CCode (cheader_filename = "clutter/clutter.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "clutter_vertex_get_type ()")]
        [Version (since = "0.4")]
        public struct Vertex {
                public float x;
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 6b4491d4b..8b2bad907 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -5930,7 +5930,7 @@ namespace Gdk {
                public static Gdk.Atom intern_static_string (string atom_name);
                public string name ();
        }
-       [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_color_get_type ()")]
+       [CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gdk_color_get_type ()")]
        [Version (deprecated = true, deprecated_since = "3.14")]
        public struct Color {
                public uint32 pixel;
@@ -5970,7 +5970,7 @@ namespace Gdk {
                public int x;
                public int y;
        }
-       [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_rgba_get_type ()")]
+       [CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gdk_rgba_get_type ()")]
        public struct RGBA {
                public double red;
                public double green;
@@ -5989,7 +5989,7 @@ namespace Gdk {
                [Version (since = "3.0")]
                public string to_string ();
        }
-       [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_rectangle_get_type ()")]
+       [CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gdk_rectangle_get_type ()")]
        public struct Rectangle : Cairo.RectangleInt {
                [Version (since = "3.20")]
                public bool equal (Gdk.Rectangle rect2);
diff --git a/vapi/goocanvas-2.0.vapi b/vapi/goocanvas-2.0.vapi
index a99b730c6..6aaf4bd4d 100644
--- a/vapi/goocanvas-2.0.vapi
+++ b/vapi/goocanvas-2.0.vapi
@@ -934,7 +934,7 @@ namespace Goo {
                public virtual signal void child_notify (GLib.ParamSpec pspec);
                public virtual signal void child_removed (int child_num);
        }
-       [CCode (cheader_filename = "goocanvas.h", type_id = "goo_canvas_bounds_get_type ()")]
+       [CCode (cheader_filename = "goocanvas.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "goo_canvas_bounds_get_type ()")]
        public struct CanvasBounds {
                public double x1;
                public double y1;
diff --git a/vapi/graphene-gobject-1.0.vapi b/vapi/graphene-gobject-1.0.vapi
index 69801535d..42855f794 100644
--- a/vapi/graphene-gobject-1.0.vapi
+++ b/vapi/graphene-gobject-1.0.vapi
@@ -2,7 +2,7 @@
 
 [CCode (cprefix = "Graphene", gir_namespace = "Graphene", gir_version = "1.0", lower_case_cprefix = 
"graphene_")]
 namespace Graphene {
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_box_t", type_id = 
"graphene_box_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_box_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_box_get_type ()")]
        [Version (since = "1.2")]
        public struct Box {
                public bool contains_box (Graphene.Box b);
@@ -34,7 +34,7 @@ namespace Graphene {
                public Graphene.Box union (Graphene.Box b);
                public static unowned Graphene.Box? zero ();
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_euler_t", type_id = 
"graphene_euler_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_euler_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_euler_get_type ()")]
        [Version (since = "1.2")]
        public struct Euler {
                public bool equal (Graphene.Euler b);
@@ -62,7 +62,7 @@ namespace Graphene {
                public Graphene.Quaternion to_quaternion ();
                public Graphene.Vec3 to_vec3 ();
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_frustum_t", type_id = 
"graphene_frustum_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_frustum_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_frustum_get_type ()")]
        [Version (since = "1.2")]
        public struct Frustum {
                public bool contains_point (Graphene.Point3D point);
@@ -75,7 +75,7 @@ namespace Graphene {
                public bool intersects_box (Graphene.Box box);
                public bool intersects_sphere (Graphene.Sphere sphere);
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_matrix_t", type_id = 
"graphene_matrix_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_matrix_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_matrix_get_type ()")]
        public struct Matrix {
                public bool decompose (out Graphene.Vec3 translate, out Graphene.Vec3 scale, out 
Graphene.Quaternion rotate, out Graphene.Vec3 shear, out Graphene.Vec4 perspective);
                [Version (since = "1.0")]
@@ -207,7 +207,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public bool untransform_point (Graphene.Point p, Graphene.Rect bounds, out Graphene.Point 
res);
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_plane_t", type_id = 
"graphene_plane_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_plane_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_plane_get_type ()")]
        [Version (since = "1.2")]
        public struct Plane {
                public float distance (Graphene.Point3D point);
@@ -224,7 +224,7 @@ namespace Graphene {
                [Version (since = "1.10")]
                public Graphene.Plane transform (Graphene.Matrix matrix, Graphene.Matrix? normal_matrix);
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_point_t", type_id = 
"graphene_point_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_point_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_point_get_type ()")]
        [Version (since = "1.0")]
        public struct Point {
                public float x;
@@ -241,7 +241,7 @@ namespace Graphene {
                public Graphene.Vec2 to_vec2 ();
                public static unowned Graphene.Point? zero ();
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_point3d_t", lower_case_csuffix = 
"point3d", type_id = "graphene_point3d_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_point3d_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", lower_case_csuffix = "point3d", type_id = 
"graphene_point3d_get_type ()")]
        [Version (since = "1.0")]
        public struct Point3D {
                public float x;
@@ -265,7 +265,7 @@ namespace Graphene {
                public Graphene.Vec3 to_vec3 ();
                public static unowned Graphene.Point3D? zero ();
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_quad_t", type_id = 
"graphene_quad_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_quad_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_quad_get_type ()")]
        [Version (since = "1.0")]
        public struct Quad {
                public Graphene.Rect bounds ();
@@ -276,7 +276,7 @@ namespace Graphene {
                public unowned Graphene.Quad? init_from_points ([CCode (array_length = false)] Graphene.Point 
points[4]);
                public unowned Graphene.Quad? init_from_rect (Graphene.Rect r);
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_quaternion_t", type_id = 
"graphene_quaternion_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_quaternion_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_quaternion_get_type ()")]
        [Version (since = "1.0")]
        public struct Quaternion {
                [Version (since = "1.10")]
@@ -308,7 +308,7 @@ namespace Graphene {
                public void to_radians (out float rad_x, out float rad_y, out float rad_z);
                public Graphene.Vec4 to_vec4 ();
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_ray_t", type_id = 
"graphene_ray_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_ray_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_ray_get_type ()")]
        [Version (since = "1.4")]
        public struct Ray {
                public bool equal (Graphene.Ray b);
@@ -334,7 +334,7 @@ namespace Graphene {
                [Version (since = "1.10")]
                public bool intersects_triangle (Graphene.Triangle t);
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_rect_t", type_id = 
"graphene_rect_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_rect_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_rect_get_type ()")]
        [Version (since = "1.0")]
        public struct Rect {
                public Graphene.Point origin;
@@ -389,7 +389,7 @@ namespace Graphene {
        [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_simd4x4f_t", has_type_id = false)]
        public struct Simd4X4F {
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_size_t", type_id = 
"graphene_size_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_size_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_size_get_type ()")]
        [Version (since = "1.0")]
        public struct Size {
                public float width;
@@ -401,7 +401,7 @@ namespace Graphene {
                public Graphene.Size scale (float factor);
                public static unowned Graphene.Size? zero ();
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_sphere_t", type_id = 
"graphene_sphere_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_sphere_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_sphere_get_type ()")]
        [Version (since = "1.2")]
        public struct Sphere {
                public bool contains_point (Graphene.Point3D point);
@@ -416,7 +416,7 @@ namespace Graphene {
                public bool is_empty ();
                public Graphene.Sphere translate (Graphene.Point3D point);
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_triangle_t", type_id = 
"graphene_triangle_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_triangle_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_triangle_get_type ()")]
        [Version (since = "1.2")]
        public struct Triangle {
                public bool contains_point (Graphene.Point3D p);
@@ -436,7 +436,7 @@ namespace Graphene {
                public unowned Graphene.Triangle? init_from_point3d (Graphene.Point3D? a, Graphene.Point3D? 
b, Graphene.Point3D? c);
                public unowned Graphene.Triangle? init_from_vec3 (Graphene.Vec3? a, Graphene.Vec3? b, 
Graphene.Vec3? c);
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_vec2_t", type_id = 
"graphene_vec2_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_vec2_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_vec2_get_type ()")]
        public struct Vec2 {
                [Version (since = "1.0")]
                public Graphene.Vec2 add (Graphene.Vec2 b);
@@ -487,7 +487,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public static unowned Graphene.Vec2? zero ();
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_vec3_t", type_id = 
"graphene_vec3_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_vec3_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_vec3_get_type ()")]
        public struct Vec3 {
                [Version (since = "1.0")]
                public Graphene.Vec3 add (Graphene.Vec3 b);
@@ -554,7 +554,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public static unowned Graphene.Vec3? zero ();
        }
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_vec4_t", type_id = 
"graphene_vec4_get_type ()")]
+       [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_vec4_t", copy_function = 
"g_boxed_copy", free_function = "g_boxed_free", type_id = "graphene_vec4_get_type ()")]
        public struct Vec4 {
                [Version (since = "1.0")]
                public Graphene.Vec4 add (Graphene.Vec4 b);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 3b5d8d84f..39d8325d9 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -10882,7 +10882,7 @@ namespace Gtk {
                public weak string string_data;
                public GLib.Type arg_type;
        }
-       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_border_get_type ()")]
+       [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gtk_border_get_type ()")]
        public struct Border {
                public int16 left;
                public int16 right;
@@ -10951,7 +10951,7 @@ namespace Gtk {
                public int minimum_size;
                public int natural_size;
        }
-       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_requisition_get_type ()")]
+       [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gtk_requisition_get_type ()")]
        public struct Requisition {
                public int width;
                public int height;
@@ -10974,7 +10974,7 @@ namespace Gtk {
                public Gtk.StockItem? copy ();
                public void free ();
        }
-       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_target_entry_get_type ()")]
+       [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gtk_target_entry_get_type ()")]
        public struct TargetEntry {
                public weak string target;
                public uint flags;
@@ -10995,7 +10995,7 @@ namespace Gtk {
                [CCode (array_length = false)]
                public Gdk.RGBA rgba[2];
        }
-       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_iter_get_type ()")]
+       [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gtk_text_iter_get_type ()")]
        public struct TextIter {
                [Version (since = "3.2")]
                public void assign (Gtk.TextIter other);
@@ -11117,7 +11117,7 @@ namespace Gtk {
                public weak Gtk.ActionCallback callback;
                public bool is_active;
        }
-       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_iter_get_type ()")]
+       [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gtk_tree_iter_get_type ()")]
        public struct TreeIter {
                public int stamp;
                public void* user_data;
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 00f4c7760..1849f6b1b 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -5418,7 +5418,7 @@ namespace Gdk {
                public int x;
                public int y;
        }
-       [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_rgba_get_type ()")]
+       [CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gdk_rgba_get_type ()")]
        public struct RGBA {
                public double red;
                public double green;
@@ -5433,7 +5433,7 @@ namespace Gdk {
                public bool parse (string spec);
                public string to_string ();
        }
-       [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_rectangle_get_type ()")]
+       [CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gdk_rectangle_get_type ()")]
        public struct Rectangle : Cairo.RectangleInt {
                public bool contains_point (int x, int y);
                public bool equal (Gdk.Rectangle rect2);
@@ -12732,7 +12732,7 @@ namespace Gtk {
                [CCode (cname = "d.string_data")]
                public weak string string_data;
        }
-       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_border_get_type ()")]
+       [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gtk_border_get_type ()")]
        public struct Border {
                public int16 left;
                public int16 right;
@@ -12782,7 +12782,7 @@ namespace Gtk {
                public int minimum_size;
                public int natural_size;
        }
-       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_requisition_get_type ()")]
+       [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gtk_requisition_get_type ()")]
        public struct Requisition {
                public int width;
                public int height;
@@ -12794,7 +12794,7 @@ namespace Gtk {
                public weak string origin;
                public GLib.Value value;
        }
-       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_text_iter_get_type ()")]
+       [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gtk_text_iter_get_type ()")]
        public struct TextIter {
                public void assign (Gtk.TextIter other);
                public bool backward_char ();
@@ -12887,7 +12887,7 @@ namespace Gtk {
                public bool starts_word ();
                public bool toggles_tag (Gtk.TextTag? tag);
        }
-       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_iter_get_type ()")]
+       [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gtk_tree_iter_get_type ()")]
        public struct TreeIter {
                public int stamp;
                public void* user_data;
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index be83d1adc..a0c6e1fed 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -621,7 +621,7 @@ namespace Pango {
        public struct AttrFontFeatures {
                public weak string features;
        }
-       [CCode (cheader_filename = "pango/pango.h", type_id = "pango_color_get_type ()")]
+       [CCode (cheader_filename = "pango/pango.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "pango_color_get_type ()")]
        public struct Color {
                public uint16 red;
                public uint16 green;
@@ -663,7 +663,7 @@ namespace Pango {
                public Pango.GlyphGeometry geometry;
                public Pango.GlyphVisAttr attr;
        }
-       [CCode (cheader_filename = "pango/pango.h", type_id = "pango_glyph_item_iter_get_type ()")]
+       [CCode (cheader_filename = "pango/pango.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "pango_glyph_item_iter_get_type ()")]
        [Version (since = "1.22")]
        public struct GlyphItemIter {
                public weak Pango.GlyphItem glyph_item;
@@ -705,7 +705,7 @@ namespace Pango {
                public uint is_expandable_space;
                public uint is_word_boundary;
        }
-       [CCode (cheader_filename = "pango/pango.h", type_id = "pango_matrix_get_type ()")]
+       [CCode (cheader_filename = "pango/pango.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "pango_matrix_get_type ()")]
        [Version (since = "1.6")]
        public struct Matrix {
                public double xx;
diff --git a/vapi/poppler-glib.vapi b/vapi/poppler-glib.vapi
index e7406cdf7..4199ab0a0 100644
--- a/vapi/poppler-glib.vapi
+++ b/vapi/poppler-glib.vapi
@@ -887,7 +887,7 @@ namespace Poppler {
                public string title;
                public string uri;
        }
-       [CCode (cheader_filename = "poppler.h", type_id = "poppler_rectangle_get_type ()")]
+       [CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "poppler_rectangle_get_type ()")]
        public struct Rectangle {
                public double x1;
                public double y1;


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