[vala/0.50] gobject-2.0: Fix a few binding errors



commit de4d2da7cdbd7a9538f89bcbc5c33e1dbbce9403
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Jan 26 13:03:17 2021 +0100

    gobject-2.0: Fix a few binding errors

 vapi/gobject-2.0.vapi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 90ebbd506..8a9c55306 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -477,7 +477,6 @@ namespace GLib {
        [CCode (cheader_filename = "glib-object.h", free_function = "g_type_default_interface_unref", 
lower_case_csuffix = "type_interface")]
        [Compact]
        public class TypeInterface {
-               public void add_prerequisite ();
                public unowned GLib.TypePlugin get_plugin (GLib.Type interface_type);
                [CCode (cname = "G_TYPE_FROM_INTERFACE")]
                public GLib.Type get_type ();
@@ -546,7 +545,7 @@ namespace GLib {
        [CCode (cheader_filename = "glib-object.h", has_copy_function = false, has_destroy_function = false, 
has_type_id = false)]
        public struct ObjectConstructParam {
                public ParamSpec pspec;
-               public GLib.Value value;
+               public GLib.Value? value;
        }
        [CCode (cheader_filename = "glib-object.h", has_copy_function = false, has_destroy_function = false, 
has_type_id = false)]
        [Version (deprecated = true, deprecated_since = "2.54")]
@@ -659,6 +658,7 @@ namespace GLib {
                public void* get_qdata (GLib.Quark quark);
                [Version (since = "2.36")]
                public static uint get_type_registration_serial ();
+               public void interface_add_prerequisite (Type prerequisite_type);
                [CCode (array_length_type = "guint")]
                public GLib.Type[] interface_prerequisites ();
                [CCode (array_length_type = "guint")]
@@ -706,7 +706,7 @@ namespace GLib {
                public uint16 instance_size;
                public uint16 n_preallocs;
                public GLib.InstanceInitFunc instance_init;
-               unowned GLib.TypeValueTable value_table;
+               public unowned GLib.TypeValueTable? value_table;
        }
        [CCode (cheader_filename = "glib-object.h", has_type_id = false)]
        public struct TypeQuery {
@@ -759,7 +759,6 @@ namespace GLib {
                public unowned GLib.Value? init (GLib.Type g_type);
                [Version (since = "2.42")]
                public void init_from_instance (void* instance);
-               public void param_take_ownership (out GLib.ParamSpec param);
                public void* peek_pointer ();
                public static void register_transform_func (GLib.Type src_type, GLib.Type dest_type, 
GLib.ValueTransform transform_func);
                public unowned GLib.Value? reset ();
@@ -781,6 +780,7 @@ namespace GLib {
                public void set_long (long v_long);
                public void set_object (GLib.Object? v_object);
                public void set_param (GLib.ParamSpec? param);
+               public void set_param_take_ownership (owned GLib.ParamSpec? param);
                public void set_pointer (void* v_pointer);
                [Version (since = "2.32")]
                public void set_schar (int8 v_char);


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