[vala/0.54] gtk4: Specify sentinel for GtkAcessible methods



commit c318f8ebe94d6d6e8717f11a576836f15e431cd4
Author: Niels De Graef <nielsdg redhat com>
Date:   Thu Feb 3 11:23:33 2022 +0100

    gtk4: Specify sentinel for GtkAcessible methods

 vapi/gtk4.vapi                 | 3 +++
 vapi/metadata/Gtk-4.0.metadata | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 41af93532..96121ccee 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -12637,10 +12637,13 @@ namespace Gtk {
                public void reset_property (Gtk.AccessibleProperty property);
                public void reset_relation (Gtk.AccessibleRelation relation);
                public void reset_state (Gtk.AccessibleState state);
+               [CCode (sentinel = "-1")]
                public void update_property (...);
                public void update_property_value ([CCode (array_length_cname = "n_properties", 
array_length_pos = 0.5)] Gtk.AccessibleProperty[] properties, [CCode (array_length_cname = "n_properties", 
array_length_pos = 0.5)] GLib.Value[] values);
+               [CCode (sentinel = "-1")]
                public void update_relation (...);
                public void update_relation_value ([CCode (array_length_cname = "n_relations", 
array_length_pos = 0.5)] Gtk.AccessibleRelation[] relations, [CCode (array_length_cname = "n_relations", 
array_length_pos = 0.5)] GLib.Value[] values);
+               [CCode (sentinel = "-1")]
                public void update_state (...);
                public void update_state_value ([CCode (array_length_cname = "n_states", array_length_pos = 
0.5)] Gtk.AccessibleState[] states, [CCode (array_length_cname = "n_states", array_length_pos = 0.5)] 
GLib.Value[] values);
                [NoAccessorMethod]
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 8ce47784e..d056725d4 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -79,7 +79,9 @@ ShortcutTrigger
 // G-I cannot handle variadic functions
 *.*_valist skip=false
 Accessible
-  .* skip=false
+  .update_property skip=false sentinel="-1"
+  .update_relation skip=false sentinel="-1"
+  .update_state skip=false sentinel="-1"
 BuilderCScope
   .* skip=false
 CellArea


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