]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk4: Specify sentinel for GtkAcessible methods
authorNiels De Graef <nielsdg@redhat.com>
Thu, 3 Feb 2022 10:23:33 +0000 (11:23 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 3 Feb 2022 11:00:36 +0000 (12:00 +0100)
vapi/gtk4.vapi
vapi/metadata/Gtk-4.0.metadata

index 925518dedbb7d4543cb0b45e8d2d04eeb14fff37..c322576d455108247ad0ae84195251770711e5eb 100644 (file)
@@ -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]
index 8e63dee5f2e2998ee4a5372db8bf10ebc161c4b0..1d81ecfc92e2c7c9840b291c0ca375628873c5c2 100644 (file)
@@ -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