[vala/nielsdg/accessible-annotations] gtk4: Specify sentinel for GtkAcessible methods




commit 8c64b761407cca57afad869682bcd954cf9c6612
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 925518ded..c322576d4 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -12646,10 +12646,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 8e63dee5f..1d81ecfc9 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -80,7 +80,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]