[vala/0.48] gio-2.0: Add some missing type-arguments



commit d3acff4baa7f721d8af579c939b8127827a01b17
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Mar 7 13:42:16 2021 +0100

    gio-2.0: Add some missing type-arguments

 vapi/gio-2.0.vapi              | 8 ++++----
 vapi/metadata/Gio-2.0.metadata | 4 ++++
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index d9aeb4189..0a0171f07 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1682,7 +1682,7 @@ namespace GLib {
                [Version (since = "2.64")]
                public bool find (GLib.Object item, out uint position);
                [Version (since = "2.64")]
-               public bool find_with_equal_func (GLib.Object item, GLib.EqualFunc equal_func, out uint 
position);
+               public bool find_with_equal_func (GLib.Object item, GLib.EqualFunc<GLib.Object> equal_func, 
out uint position);
                [Version (since = "2.44")]
                public void insert (uint position, GLib.Object item);
                [Version (since = "2.44")]
@@ -2284,10 +2284,10 @@ namespace GLib {
                public void changed (string key, void* origin_tag);
                [CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = 
"G_SETTINGS_ENABLE_BACKEND")]
                [Version (since = "2.26")]
-               public void changed_tree (GLib.Tree tree, void* origin_tag);
+               public void changed_tree ([CCode (type = "GTree*")] GLib.Tree<string,GLib.Variant> tree, 
void* origin_tag);
                [CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = 
"G_SETTINGS_ENABLE_BACKEND")]
                [Version (since = "2.26")]
-               public static void flatten_tree (GLib.Tree tree, out string path, [CCode (array_length = 
false, array_null_terminated = true)] out (unowned string)[] keys, [CCode (array_length = false, 
array_null_terminated = true)] out (unowned GLib.Variant)[] values);
+               public static void flatten_tree ([CCode (type = "GTree*")] GLib.Tree<string,GLib.Variant> 
tree, out string path, [CCode (array_length = false, array_null_terminated = true)] out (unowned string)[] 
keys, [CCode (array_length = false, array_null_terminated = true)] out (unowned GLib.Variant)[] values);
                [CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = 
"G_SETTINGS_ENABLE_BACKEND")]
                [Version (since = "2.28")]
                public static GLib.SettingsBackend get_default ();
@@ -2337,7 +2337,7 @@ namespace GLib {
                public virtual bool write (string key, GLib.Variant value, void* origin_tag);
                [CCode (cheader_filename = "gio/gsettingsbackend.h", feature_test_macro = 
"G_SETTINGS_ENABLE_BACKEND")]
                [NoWrapper]
-               public virtual bool write_tree (GLib.Tree tree, void* origin_tag);
+               public virtual bool write_tree ([CCode (type = "GTree*")] GLib.Tree<string,GLib.Variant> 
tree, void* origin_tag);
        }
        [CCode (cheader_filename = "gio/gio.h", ref_function = "g_settings_schema_ref", type_id = 
"g_settings_schema_get_type ()", unref_function = "g_settings_schema_unref")]
        [Compact]
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 51c5e7079..d96f62884 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -55,6 +55,9 @@ dbus_address_get_for_bus_sync parent="GLib.BusType" name="get_address_sync"
 SETTINGS_BACKEND_EXTENSION_POINT_NAME cheader_filename="gio/gsettingsbackend.h" 
feature_test_macro="G_SETTINGS_ENABLE_BACKEND"
 SettingsBackend
   .* cheader_filename="gio/gsettingsbackend.h" feature_test_macro="G_SETTINGS_ENABLE_BACKEND"
+  .changed_tree.tree type="GLib.Tree<string,GLib.Variant>"
+  .flatten_tree.tree type="GLib.Tree<string,GLib.Variant>"
+  .write_tree.tree type="GLib.Tree<string,GLib.Variant>"
 
 Action
   .parameter_type nullable
@@ -157,6 +160,7 @@ ListModel
   .get_item#virtual_method skip
   .get_item#method skip=false abstract type="GLib.Object?"
 ListStore
+  .find_with_equal_func.equal_func type_arguments="GLib.Object"
   .insert_sorted.compare_func type_arguments="GLib.Object"
   .sort.compare_func type_arguments="GLib.Object"
 MemoryInputStream


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