[vala/staging] Regenerate GIR-based bindings to fix getter ownership of struct properties



commit 11e1c39e4b3888b127c9dbca56098d6a162604e2
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu May 9 19:06:11 2019 +0200

    Regenerate GIR-based bindings to fix getter ownership of struct properties

 vapi/clutter-1.0.vapi   | 16 ++++++++--------
 vapi/goocanvas-2.0.vapi | 20 ++++++++++----------
 vapi/gtk+-3.0.vapi      | 42 +++++++++++++++++++++---------------------
 vapi/gtk4.vapi          | 18 +++++++++---------
 vapi/libsoup-2.4.vapi   |  8 ++++----
 5 files changed, 52 insertions(+), 52 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 5ce8990be..e4a3f8e9f 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -5137,7 +5137,7 @@ namespace Clutter {
                public Clutter.Action actions { set; }
                [NoAccessorMethod]
                [Version (since = "0.8")]
-               public Clutter.ActorBox allocation { get; }
+               public Clutter.ActorBox allocation { owned get; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
                public Clutter.Gravity anchor_gravity { get; set; }
@@ -5159,7 +5159,7 @@ namespace Clutter {
                public bool child_transform_set { get; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "1.12")]
-               public Clutter.Geometry clip { get; set; }
+               public Clutter.Geometry clip { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "1.12")]
                public Clutter.Rect clip_rect { owned get; set; }
@@ -5271,13 +5271,13 @@ namespace Clutter {
                public double rotation_angle_z { get; set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
-               public Clutter.Vertex rotation_center_x { get; set; }
+               public Clutter.Vertex rotation_center_x { owned get; set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
-               public Clutter.Vertex rotation_center_y { get; set; }
+               public Clutter.Vertex rotation_center_y { owned get; set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
-               public Clutter.Vertex rotation_center_z { get; set; }
+               public Clutter.Vertex rotation_center_z { owned get; set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
                public Clutter.Gravity rotation_center_z_gravity { get; set; }
@@ -5661,7 +5661,7 @@ namespace Clutter {
                [NoAccessorMethod]
                public double angle_tilt_z { get; set; }
                [NoAccessorMethod]
-               public Clutter.Knot center { get; set; }
+               public Clutter.Knot center { owned get; set; }
                public Clutter.RotateDirection direction { get; set; }
                public int height { get; set; }
                public int width { get; set; }
@@ -5909,9 +5909,9 @@ namespace Clutter {
                public void set_contrast (float contrast);
                public void set_contrast_full (float red, float green, float blue);
                [NoAccessorMethod]
-               public Clutter.Color brightness { get; set; }
+               public Clutter.Color brightness { owned get; set; }
                [NoAccessorMethod]
-               public Clutter.Color contrast { get; set; }
+               public Clutter.Color contrast { owned get; set; }
        }
        [CCode (cheader_filename = "clutter/clutter.h", has_type_id = false)]
        [Compact]
diff --git a/vapi/goocanvas-2.0.vapi b/vapi/goocanvas-2.0.vapi
index 957e49f96..a99b730c6 100644
--- a/vapi/goocanvas-2.0.vapi
+++ b/vapi/goocanvas-2.0.vapi
@@ -150,7 +150,7 @@ namespace Goo {
                public string border_color { set; }
                [NoAccessorMethod]
                [Version (since = "2.0.1")]
-               public Gdk.RGBA border_color_gdk_rgba { get; set; }
+               public Gdk.RGBA border_color_gdk_rgba { owned get; set; }
                [NoAccessorMethod]
                public uint border_color_rgba { get; set; }
                [NoAccessorMethod]
@@ -165,7 +165,7 @@ namespace Goo {
                public string horz_grid_line_color { set; }
                [NoAccessorMethod]
                [Version (since = "2.0.1")]
-               public Gdk.RGBA horz_grid_line_color_gdk_rgba { get; set; }
+               public Gdk.RGBA horz_grid_line_color_gdk_rgba { owned get; set; }
                [NoAccessorMethod]
                public uint horz_grid_line_color_rgba { get; set; }
                [NoAccessorMethod]
@@ -182,7 +182,7 @@ namespace Goo {
                public string vert_grid_line_color { set; }
                [NoAccessorMethod]
                [Version (since = "2.0.1")]
-               public Gdk.RGBA vert_grid_line_color_gdk_rgba { get; set; }
+               public Gdk.RGBA vert_grid_line_color_gdk_rgba { owned get; set; }
                [NoAccessorMethod]
                public uint vert_grid_line_color_rgba { get; set; }
                [NoAccessorMethod]
@@ -216,7 +216,7 @@ namespace Goo {
                [NoAccessorMethod]
                public string border_color { set; }
                [NoAccessorMethod]
-               public Gdk.RGBA border_color_gdk_rgba { get; set; }
+               public Gdk.RGBA border_color_gdk_rgba { owned get; set; }
                [NoAccessorMethod]
                public uint border_color_rgba { get; set; }
                [NoAccessorMethod]
@@ -230,7 +230,7 @@ namespace Goo {
                [NoAccessorMethod]
                public string horz_grid_line_color { set; }
                [NoAccessorMethod]
-               public Gdk.RGBA horz_grid_line_color_gdk_rgba { get; set; }
+               public Gdk.RGBA horz_grid_line_color_gdk_rgba { owned get; set; }
                [NoAccessorMethod]
                public uint horz_grid_line_color_rgba { get; set; }
                [NoAccessorMethod]
@@ -246,7 +246,7 @@ namespace Goo {
                [NoAccessorMethod]
                public string vert_grid_line_color { set; }
                [NoAccessorMethod]
-               public Gdk.RGBA vert_grid_line_color_gdk_rgba { get; set; }
+               public Gdk.RGBA vert_grid_line_color_gdk_rgba { owned get; set; }
                [NoAccessorMethod]
                public uint vert_grid_line_color_rgba { get; set; }
                [NoAccessorMethod]
@@ -366,7 +366,7 @@ namespace Goo {
                [NoAccessorMethod]
                public string fill_color { set; }
                [NoAccessorMethod]
-               public Gdk.RGBA fill_color_gdk_rgba { get; set; }
+               public Gdk.RGBA fill_color_gdk_rgba { owned get; set; }
                [NoAccessorMethod]
                public uint fill_color_rgba { get; set; }
                [NoAccessorMethod]
@@ -396,7 +396,7 @@ namespace Goo {
                [NoAccessorMethod]
                public string stroke_color { set; }
                [NoAccessorMethod]
-               public Gdk.RGBA stroke_color_gdk_rgba { get; set; }
+               public Gdk.RGBA stroke_color_gdk_rgba { owned get; set; }
                [NoAccessorMethod]
                public uint stroke_color_rgba { get; set; }
                [NoAccessorMethod]
@@ -441,7 +441,7 @@ namespace Goo {
                public string fill_color { set; }
                [NoAccessorMethod]
                [Version (since = "2.0.1")]
-               public Gdk.RGBA fill_color_gdk_rgba { get; set; }
+               public Gdk.RGBA fill_color_gdk_rgba { owned get; set; }
                [NoAccessorMethod]
                public uint fill_color_rgba { get; set; }
                [NoAccessorMethod]
@@ -472,7 +472,7 @@ namespace Goo {
                public string stroke_color { set; }
                [NoAccessorMethod]
                [Version (since = "2.0.1")]
-               public Gdk.RGBA stroke_color_gdk_rgba { get; set; }
+               public Gdk.RGBA stroke_color_gdk_rgba { owned get; set; }
                [NoAccessorMethod]
                public uint stroke_color_rgba { get; set; }
                [NoAccessorMethod]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index dd43be975..dc7738327 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1593,10 +1593,10 @@ namespace Gtk {
                public string cell_background { set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "3.4", replacement = "cell_background_rgba")]
-               public Gdk.Color cell_background_gdk { get; set; }
+               public Gdk.Color cell_background_gdk { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.0")]
-               public Gdk.RGBA cell_background_rgba { get; set; }
+               public Gdk.RGBA cell_background_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool cell_background_set { get; set; }
                [NoAccessorMethod]
@@ -1764,10 +1764,10 @@ namespace Gtk {
                public string background { set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
-               public Gdk.Color background_gdk { get; set; }
+               public Gdk.Color background_gdk { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.0")]
-               public Gdk.RGBA background_rgba { get; set; }
+               public Gdk.RGBA background_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool background_set { get; set; }
                [NoAccessorMethod]
@@ -1791,10 +1791,10 @@ namespace Gtk {
                public string foreground { set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "3.4", replacement = "foreground_rgba")]
-               public Gdk.Color foreground_gdk { get; set; }
+               public Gdk.Color foreground_gdk { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.0")]
-               public Gdk.RGBA foreground_rgba { get; set; }
+               public Gdk.RGBA foreground_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool foreground_set { get; set; }
                [NoAccessorMethod]
@@ -1925,10 +1925,10 @@ namespace Gtk {
                public string background { set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
-               public Gdk.Color background_gdk { get; set; }
+               public Gdk.Color background_gdk { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.0")]
-               public Gdk.RGBA background_rgba { get; set; }
+               public Gdk.RGBA background_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool background_set { get; set; }
                [NoAccessorMethod]
@@ -2068,10 +2068,10 @@ namespace Gtk {
                public uint alpha { get; set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "3.4", replacement = "rgba", since = "2.4")]
-               public Gdk.Color color { get; set; }
+               public Gdk.Color color { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.0")]
-               public Gdk.RGBA rgba { get; set; }
+               public Gdk.RGBA rgba { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.20")]
                public bool show_editor { get; set; }
@@ -2134,7 +2134,7 @@ namespace Gtk {
                public uint current_alpha { get; set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "3.4", replacement = "current_rgba")]
-               public Gdk.Color current_color { get; set; }
+               public Gdk.Color current_color { owned get; set; }
                [Version (since = "3.0")]
                public Gdk.RGBA current_rgba { get; set; }
                public bool has_opacity_control { get; set; }
@@ -5687,7 +5687,7 @@ namespace Gtk {
                public Gtk.PopoverConstraint constrain_to { get; set; }
                public bool modal { get; set; }
                [NoAccessorMethod]
-               public Gdk.Rectangle pointing_to { get; set; }
+               public Gdk.Rectangle pointing_to { owned get; set; }
                public Gtk.PositionType position { get; set; }
                public Gtk.Widget relative_to { get; set; }
                [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
@@ -8009,10 +8009,10 @@ namespace Gtk {
                public bool background_full_height_set { get; set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "3.4", replacement = "background_rgba")]
-               public Gdk.Color background_gdk { get; set; }
+               public Gdk.Color background_gdk { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.2")]
-               public Gdk.RGBA background_rgba { get; set; }
+               public Gdk.RGBA background_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool background_set { get; set; }
                [NoAccessorMethod]
@@ -8043,10 +8043,10 @@ namespace Gtk {
                public string foreground { set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "3.4", replacement = "foreground_rgba")]
-               public Gdk.Color foreground_gdk { get; set; }
+               public Gdk.Color foreground_gdk { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.2")]
-               public Gdk.RGBA foreground_rgba { get; set; }
+               public Gdk.RGBA foreground_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool foreground_set { get; set; }
                [NoAccessorMethod]
@@ -8082,10 +8082,10 @@ namespace Gtk {
                public string paragraph_background { set; }
                [NoAccessorMethod]
                [Version (deprecated = true, deprecated_since = "3.4", replacement = 
"paragraph_background_rgba", since = "2.8")]
-               public Gdk.Color paragraph_background_gdk { get; set; }
+               public Gdk.Color paragraph_background_gdk { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.2")]
-               public Gdk.RGBA paragraph_background_rgba { get; set; }
+               public Gdk.RGBA paragraph_background_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool paragraph_background_set { get; set; }
                [NoAccessorMethod]
@@ -8126,7 +8126,7 @@ namespace Gtk {
                public bool strikethrough { get; set; }
                [NoAccessorMethod]
                [Version (since = "3.16")]
-               public Gdk.RGBA strikethrough_rgba { get; set; }
+               public Gdk.RGBA strikethrough_rgba { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.16")]
                public bool strikethrough_rgba_set { get; set; }
@@ -8144,7 +8144,7 @@ namespace Gtk {
                public Pango.Underline underline { get; set; }
                [NoAccessorMethod]
                [Version (since = "3.16")]
-               public Gdk.RGBA underline_rgba { get; set; }
+               public Gdk.RGBA underline_rgba { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.16")]
                public bool underline_rgba_set { get; set; }
@@ -8651,7 +8651,7 @@ namespace Gtk {
                public void set_style (Gtk.ToolbarStyle style);
                public void unset_icon_size ();
                public void unset_style ();
-               public Gtk.IconSize icon_size { get; set; }
+               public Gtk.IconSize icon_size { owned get; set; }
                [NoAccessorMethod]
                public bool icon_size_set { get; set; }
                [NoAccessorMethod]
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 4773f4a0e..d21b498ef 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -7040,7 +7040,7 @@ namespace Gtk {
                [NoAccessorMethod]
                public string cell_background { set; }
                [NoAccessorMethod]
-               public Gdk.RGBA cell_background_rgba { get; set; }
+               public Gdk.RGBA cell_background_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool cell_background_set { get; set; }
                [NoAccessorMethod]
@@ -7167,7 +7167,7 @@ namespace Gtk {
                [NoAccessorMethod]
                public string background { set; }
                [NoAccessorMethod]
-               public Gdk.RGBA background_rgba { get; set; }
+               public Gdk.RGBA background_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool background_set { get; set; }
                [NoAccessorMethod]
@@ -7189,7 +7189,7 @@ namespace Gtk {
                [NoAccessorMethod]
                public string foreground { set; }
                [NoAccessorMethod]
-               public Gdk.RGBA foreground_rgba { get; set; }
+               public Gdk.RGBA foreground_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool foreground_set { get; set; }
                [NoAccessorMethod]
@@ -9577,7 +9577,7 @@ namespace Gtk {
                public Gtk.Widget default_widget { get; set; }
                public bool modal { get; set; }
                [NoAccessorMethod]
-               public Gdk.Rectangle pointing_to { get; set; }
+               public Gdk.Rectangle pointing_to { owned get; set; }
                public Gtk.PositionType position { get; set; }
                public Gtk.Widget relative_to { get; set; }
                public virtual signal void closed ();
@@ -10924,7 +10924,7 @@ namespace Gtk {
                [NoAccessorMethod]
                public bool background_full_height_set { get; set; }
                [NoAccessorMethod]
-               public Gdk.RGBA background_rgba { get; set; }
+               public Gdk.RGBA background_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool background_set { get; set; }
                [NoAccessorMethod]
@@ -10952,7 +10952,7 @@ namespace Gtk {
                [NoAccessorMethod]
                public string foreground { set; }
                [NoAccessorMethod]
-               public Gdk.RGBA foreground_rgba { get; set; }
+               public Gdk.RGBA foreground_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool foreground_set { get; set; }
                [NoAccessorMethod]
@@ -10984,7 +10984,7 @@ namespace Gtk {
                [NoAccessorMethod]
                public string paragraph_background { set; }
                [NoAccessorMethod]
-               public Gdk.RGBA paragraph_background_rgba { get; set; }
+               public Gdk.RGBA paragraph_background_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool paragraph_background_set { get; set; }
                [NoAccessorMethod]
@@ -11024,7 +11024,7 @@ namespace Gtk {
                [NoAccessorMethod]
                public bool strikethrough { get; set; }
                [NoAccessorMethod]
-               public Gdk.RGBA strikethrough_rgba { get; set; }
+               public Gdk.RGBA strikethrough_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool strikethrough_rgba_set { get; set; }
                [NoAccessorMethod]
@@ -11040,7 +11040,7 @@ namespace Gtk {
                [NoAccessorMethod]
                public Pango.Underline underline { get; set; }
                [NoAccessorMethod]
-               public Gdk.RGBA underline_rgba { get; set; }
+               public Gdk.RGBA underline_rgba { owned get; set; }
                [NoAccessorMethod]
                public bool underline_rgba_set { get; set; }
                [NoAccessorMethod]
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index a304cdef7..04689efdd 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -203,11 +203,11 @@ namespace Soup {
                public void set_generic_auth_callback (owned Soup.AuthDomainGenericAuthCallback 
auth_callback);
                public bool try_generic_auth_callback (Soup.Message msg, string username);
                [NoAccessorMethod]
-               public Soup.AuthDomainFilter filter { owned get; set; }
+               public Soup.AuthDomainFilter filter { get; set; }
                [NoAccessorMethod]
                public void* filter_data { get; set; }
                [NoAccessorMethod]
-               public Soup.AuthDomainGenericAuthCallback generic_auth_callback { owned get; set; }
+               public Soup.AuthDomainGenericAuthCallback generic_auth_callback { get; set; }
                [NoAccessorMethod]
                public void* generic_auth_data { get; set; }
                [NoAccessorMethod]
@@ -220,7 +220,7 @@ namespace Soup {
                public AuthDomainBasic (string optname1, ...);
                public void set_auth_callback (owned Soup.AuthDomainBasicAuthCallback callback);
                [NoAccessorMethod]
-               public Soup.AuthDomainBasicAuthCallback auth_callback { owned get; set; }
+               public Soup.AuthDomainBasicAuthCallback auth_callback { get; set; }
                [NoAccessorMethod]
                public void* auth_data { get; set; }
        }
@@ -231,7 +231,7 @@ namespace Soup {
                public static string encode_password (string username, string realm, string password);
                public void set_auth_callback (owned Soup.AuthDomainDigestAuthCallback callback);
                [NoAccessorMethod]
-               public Soup.AuthDomainDigestAuthCallback auth_callback { owned get; set; }
+               public Soup.AuthDomainDigestAuthCallback auth_callback { get; set; }
                [NoAccessorMethod]
                public void* auth_data { get; set; }
        }


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