From: Niels De Graef Date: Thu, 3 Feb 2022 10:23:33 +0000 (+0100) Subject: gtk4: Specify sentinel for GtkAcessible methods X-Git-Tag: 0.55.3~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c64b761407cca57afad869682bcd954cf9c6612;p=thirdparty%2Fvala.git gtk4: Specify sentinel for GtkAcessible methods --- 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