[vala/wip/vapicheck: 92/94] WIP gio-2.0: Fix a few bindings errors




commit d0a66aedc94bf561719be3909ddde2b8d7faf8cf
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Jan 31 13:04:52 2021 +0100

    WIP gio-2.0: Fix a few bindings errors

 vapi/gio-2.0.vapi              | 4 ++--
 vapi/metadata/Gio-2.0.metadata | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 708ecf790..82c8bf8d0 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -3183,7 +3183,7 @@ namespace GLib {
                public virtual unowned string[] get_supported_uri_schemes ();
                public virtual bool is_active ();
                [NoWrapper]
-               public virtual void local_file_add_info (string filename, uint64 device, 
GLib.FileAttributeMatcher attribute_matcher, GLib.FileInfo info, GLib.Cancellable? cancellable = null, void* 
extra_data = null, GLib.DestroyNotify? free_extra_data = null);
+               public virtual void local_file_add_info (string filename, uint64 device, 
GLib.FileAttributeMatcher attribute_matcher, GLib.FileInfo info, GLib.Cancellable? cancellable = null, out 
void* extra_data = null, out GLib.DestroyNotify? free_extra_data = null);
                [NoWrapper]
                public virtual void local_file_moved (string source, string dest);
                [NoWrapper]
@@ -4769,7 +4769,7 @@ namespace GLib {
                [CCode (cheader_filename = "gio/gio.h")]
                public static bool register_error (GLib.Quark error_domain, int error_code, string 
dbus_error_name);
                [CCode (cheader_filename = "gio/gio.h")]
-               public static void register_error_domain (string error_domain_quark_name, size_t 
quark_volatile, [CCode (array_length_cname = "num_entries", array_length_pos = 3.1, array_length_type = 
"guint")] GLib.DBusErrorEntry[] entries);
+               public static void register_error_domain (string error_domain_quark_name, ref size_t 
quark_volatile, [CCode (array_length_cname = "num_entries", array_length_pos = 3.1, array_length_type = 
"guint")] GLib.DBusErrorEntry[] entries);
                [CCode (cheader_filename = "gio/gio.h")]
                public static bool strip_remote_error (GLib.Error error);
                [CCode (cheader_filename = "gio/gio.h")]
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index b4bdd692d..b15f96989 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -254,8 +254,8 @@ TlsPassword
   .set_value#virtual_method.destroy default=GLib.free
 Vfs
   // TODO: should probably be a simple generic
-  .local_file_add_info.extra_data default=null
-  .local_file_add_info.free_extra_data nullable default=null
+  .local_file_add_info.extra_data default=null out
+  .local_file_add_info.free_extra_data nullable default=null out unowned=false
 Volume
   .get_activation_root nullable
   .get_sort_key#virtual_method virtual
@@ -303,6 +303,7 @@ OutputMessage
   .control_messages type="GLib.SocketControlMessage***"
   .num_control_messages type="uint*"
 DBusError errordomain
+dbus_error_register_error_domain.quark_volatile ref
 DBusSubtreeEnumerateFunc unowned=false skip=false
 pollable_source_new parent="GLib.PollableSource" symbol_type="constructor" name="new"
 pollable_source_new_full parent="GLib.PollableSource" symbol_type="constructor" name="new_full"


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