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



commit abcb27fdcf7cba1b89890de4a11882cd8ed8ac4a
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/graphene-1.0.vapi | 34 +++++++++++++++++-----------------
 vapi/gtk+-3.0.vapi     | 10 +++++-----
 vapi/gtk+-4.0.vapi     | 12 ++++++------
 vapi/pango.vapi        |  6 +++---
 vapi/poppler-glib.vapi |  2 +-
 9 files changed, 52 insertions(+), 52 deletions(-)
---
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index f7bb231c9..7da3b7d31 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -590,7 +590,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 d97ea86d1..5071a36ba 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -394,7 +394,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 509e971fd..207091f18 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 263ef6359..2448aaa52 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/graphene-1.0.vapi b/vapi/graphene-1.0.vapi
index b1aa112b2..abc63d2d4 100644
--- a/vapi/graphene-1.0.vapi
+++ b/vapi/graphene-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);
@@ -52,7 +52,7 @@ namespace Graphene {
                public Graphene.Matrix to_matrix ();
                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);
@@ -65,7 +65,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 {
                [Version (since = "1.0")]
                public float determinant ();
@@ -184,7 +184,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);
@@ -199,7 +199,7 @@ namespace Graphene {
                public Graphene.Plane negate ();
                public Graphene.Plane normalize ();
        }
-       [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;
@@ -216,7 +216,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;
@@ -240,7 +240,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 ();
@@ -251,7 +251,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 {
                public float dot (Graphene.Quaternion b);
@@ -277,7 +277,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);
@@ -291,7 +291,7 @@ namespace Graphene {
                public unowned Graphene.Ray? init_from_ray (Graphene.Ray src);
                public unowned Graphene.Ray? init_from_vec3 (Graphene.Vec3? origin, Graphene.Vec3? direction);
        }
-       [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;
@@ -334,7 +334,7 @@ namespace Graphene {
                [Version (since = "1.4")]
                public static unowned Graphene.Rect? zero ();
        }
-       [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;
@@ -346,7 +346,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);
@@ -361,7 +361,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);
@@ -377,7 +377,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);
@@ -426,7 +426,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);
@@ -491,7 +491,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 24d34689e..a2024e24d 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -10883,7 +10883,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;
@@ -10952,7 +10952,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;
@@ -10975,7 +10975,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;
@@ -10996,7 +10996,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);
@@ -11118,7 +11118,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/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 58c901e63..86bd40d43 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -5461,7 +5461,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;
@@ -5476,7 +5476,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);
@@ -12444,7 +12444,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;
@@ -12483,7 +12483,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;
@@ -12495,7 +12495,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 ();
@@ -12588,7 +12588,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 461da30d3..cdcf10a46 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -619,7 +619,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;
@@ -661,7 +661,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;
@@ -703,7 +703,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]