[vala/staging: 3/3] vapi: Update GIR-based bindings




commit 1d6ee99e526bd00ea99fbca3044bc413bbb24223
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Aug 8 20:51:40 2022 +0200

    vapi: Update GIR-based bindings

 vapi/atspi-2.vapi     |   4 ++
 vapi/gtk4.vapi        | 189 ++++++++++++++++++++++++++++++++++++++++++++++++--
 vapi/gudev-1.0.vapi   |   7 ++
 vapi/libnotify.vapi   |  13 +++-
 vapi/libsoup-3.0.vapi |   9 ++-
 vapi/pango.deps       |   1 +
 vapi/pango.vapi       |  12 +++-
 7 files changed, 224 insertions(+), 11 deletions(-)
---
diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi
index b1f75a592..01564cf9b 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -156,8 +156,10 @@ namespace Atspi {
                public bool register (string event_type) throws GLib.Error;
                public static bool register_from_callback ([CCode (delegate_target_pos = 1.33333, 
destroy_notify_pos = 1.66667)] owned Atspi.EventListenerCB callback, string event_type) throws GLib.Error;
                public static bool register_from_callback_full ([CCode (delegate_target_pos = 1.33333, 
destroy_notify_pos = 1.66667)] owned Atspi.EventListenerCB? callback, string event_type, GLib.Array<string> 
properties) throws GLib.Error;
+               public static bool register_from_callback_with_app ([CCode (delegate_target_pos = 1.33333, 
destroy_notify_pos = 1.66667)] owned Atspi.EventListenerCB? callback, string event_type, GLib.Array<string> 
properties, Atspi.Accessible? app) throws GLib.Error;
                public bool register_full (string event_type, GLib.Array<string>? properties) throws 
GLib.Error;
                public static bool register_no_data ([CCode (destroy_notify_pos = 1.5)] owned 
Atspi.EventListenerSimpleCB callback, string event_type) throws GLib.Error;
+               public bool register_with_app (string event_type, GLib.Array<string>? properties, 
Atspi.Accessible? app) throws GLib.Error;
                [CCode (has_construct_function = false)]
                public EventListener.simple ([CCode (destroy_notify_pos = 1.1)] owned 
Atspi.EventListenerSimpleCB callback);
        }
@@ -421,6 +423,8 @@ namespace Atspi {
                public double get_maximum_value () throws GLib.Error;
                public double get_minimum_increment () throws GLib.Error;
                public double get_minimum_value () throws GLib.Error;
+               [Version (since = "2.46")]
+               public string get_text () throws GLib.Error;
                public bool set_current_value (double new_value) throws GLib.Error;
        }
        [CCode (cheader_filename = "atspi/atspi.h")]
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 474846697..9cdd79f48 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -4961,6 +4961,12 @@ namespace Gdk {
        [Compact]
        [Version (since = "4.6")]
        public class FileList {
+               [CCode (has_construct_function = false)]
+               [Version (since = "4.8")]
+               public FileList.from_array ([CCode (array_length_cname = "n_files", array_length_pos = 1.1, 
array_length_type = "gsize")] GLib.File[] files);
+               [CCode (has_construct_function = false)]
+               [Version (since = "4.8")]
+               public FileList.from_list (GLib.SList<GLib.File> files);
                public GLib.SList<weak GLib.File> get_files ();
        }
        [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_focus_event_get_type ()")]
@@ -6694,7 +6700,13 @@ namespace Gtk {
                public string filename { get; construct; }
                public int io_priority { get; set; }
                [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
+               [NoAccessorMethod]
                public bool loading { get; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_bool_filter_get_type ()")]
        public class BoolFilter : Gtk.Filter {
@@ -7300,10 +7312,14 @@ namespace Gtk {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public CheckButton ();
                public bool get_active ();
+               [Version (since = "4.8")]
+               public unowned Gtk.Widget? get_child ();
                public bool get_inconsistent ();
                public unowned string? get_label ();
                public bool get_use_underline ();
                public void set_active (bool setting);
+               [Version (since = "4.8")]
+               public void set_child (Gtk.Widget? child);
                public void set_group (Gtk.CheckButton? group);
                public void set_inconsistent (bool inconsistent);
                public void set_label (string? label);
@@ -7313,6 +7329,8 @@ namespace Gtk {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public CheckButton.with_mnemonic (string? label);
                public bool active { get; set; }
+               [Version (since = "4.8")]
+               public Gtk.Widget child { get; set; }
                public Gtk.CheckButton group { set; }
                public bool inconsistent { get; set; }
                public string label { get; set; }
@@ -7662,8 +7680,14 @@ namespace Gtk {
                public GLib.File file { get; set; }
                public int io_priority { get; set; }
                [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
+               [NoAccessorMethod]
                public bool loading { get; }
                public bool monitored { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_drag_icon_get_type ()")]
        public class DragIcon : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Native, 
Gtk.Root {
@@ -7812,7 +7836,8 @@ namespace Gtk {
                public bool get_editing ();
                public void start_editing ();
                public void stop_editing (bool commit);
-               public bool editing { get; }
+               [NoAccessorMethod]
+               public bool editing { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_emoji_chooser_get_type ()")]
        public class EmojiChooser : Gtk.Popover, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, 
Gtk.Native, Gtk.ShortcutManager {
@@ -8230,7 +8255,13 @@ namespace Gtk {
                public void set_model (GLib.ListModel? model);
                public Gtk.Filter filter { get; set; }
                public bool incremental { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
                public GLib.ListModel model { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
                public uint pending { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_fixed_get_type ()")]
@@ -8264,7 +8295,13 @@ namespace Gtk {
                public unowned GLib.ListModel? get_model ();
                public unowned GLib.ListModel? get_model_for_item (uint position);
                public void set_model (GLib.ListModel? model);
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
                public GLib.ListModel model { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_flow_box_get_type ()")]
        public class FlowBox : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, 
Gtk.Orientable {
@@ -8453,7 +8490,7 @@ namespace Gtk {
                public signal void pressed (int n_press, double x, double y);
                public signal void released (int n_press, double x, double y);
                public signal void stopped ();
-               public signal void unpaired_release (double x, double y, uint button, Gdk.EventSequence 
sequence);
+               public signal void unpaired_release (double x, double y, uint button, Gdk.EventSequence? 
sequence);
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_drag_get_type ()")]
        public class GestureDrag : Gtk.GestureSingle {
@@ -8912,6 +8949,44 @@ namespace Gtk {
                [HasEmitter]
                public signal void response (int response_id);
        }
+       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_inscription_get_type ()")]
+       [Version (since = "4.8")]
+       public class Inscription : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
+               [CCode (has_construct_function = false, type = "GtkWidget*")]
+               public Inscription (string? text);
+               public unowned Pango.AttrList? get_attributes ();
+               public uint get_min_chars ();
+               public uint get_min_lines ();
+               public uint get_nat_chars ();
+               public uint get_nat_lines ();
+               public unowned string? get_text ();
+               public Gtk.InscriptionOverflow get_text_overflow ();
+               public Pango.WrapMode get_wrap_mode ();
+               public float get_xalign ();
+               public float get_yalign ();
+               public void set_attributes (Pango.AttrList? attrs);
+               public void set_markup (string? markup);
+               public void set_min_chars (uint min_chars);
+               public void set_min_lines (uint min_lines);
+               public void set_nat_chars (uint nat_chars);
+               public void set_nat_lines (uint nat_lines);
+               public void set_text (string? text);
+               public void set_text_overflow (Gtk.InscriptionOverflow overflow);
+               public void set_wrap_mode (Pango.WrapMode wrap_mode);
+               public void set_xalign (float xalign);
+               public void set_yalign (float yalign);
+               public Pango.AttrList attributes { get; set; }
+               public string markup { set; }
+               public uint min_chars { get; set; }
+               public uint min_lines { get; set; }
+               public uint nat_chars { get; set; }
+               public uint nat_lines { get; set; }
+               public string text { get; set; }
+               public Gtk.InscriptionOverflow text_overflow { get; set; }
+               public Pango.WrapMode wrap_mode { get; set; }
+               public float xalign { get; set; }
+               public float yalign { get; set; }
+       }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_keyval_trigger_get_type ()")]
        public class KeyvalTrigger : Gtk.ShortcutTrigger {
                [CCode (has_construct_function = false, type = "GtkShortcutTrigger*")]
@@ -8942,6 +9017,8 @@ namespace Gtk {
                public bool get_selectable ();
                public bool get_selection_bounds (out int start, out int end);
                public bool get_single_line_mode ();
+               [Version (since = "4.8")]
+               public Pango.TabArray? get_tabs ();
                public unowned string get_text ();
                public bool get_use_markup ();
                public bool get_use_underline ();
@@ -8965,6 +9042,8 @@ namespace Gtk {
                public void set_natural_wrap_mode (Gtk.NaturalWrapMode wrap_mode);
                public void set_selectable (bool setting);
                public void set_single_line_mode (bool single_line_mode);
+               [Version (since = "4.8")]
+               public void set_tabs (Pango.TabArray? tabs);
                public void set_text (string str);
                public void set_text_with_mnemonic (string str);
                public void set_use_markup (bool setting);
@@ -8989,6 +9068,8 @@ namespace Gtk {
                public Gtk.NaturalWrapMode natural_wrap_mode { get; set; }
                public bool selectable { get; set; }
                public bool single_line_mode { get; set; }
+               [Version (since = "4.8")]
+               public Pango.TabArray tabs { owned get; set; }
                public bool use_markup { get; set; }
                public bool use_underline { get; set; }
                public int width_chars { get; set; }
@@ -9245,7 +9326,13 @@ namespace Gtk {
                public void set_model (GLib.ListModel? model);
                [NoAccessorMethod]
                public bool has_map { get; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
                public GLib.ListModel model { get; construct; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_media_controls_get_type ()")]
        public class MediaControls : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
@@ -9451,6 +9538,12 @@ namespace Gtk {
                protected MultiFilter ();
                public void append (owned Gtk.Filter filter);
                public void remove (uint position);
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_multi_selection_get_type ()")]
        public class MultiSelection : GLib.Object, GLib.ListModel, Gtk.SelectionModel {
@@ -9458,7 +9551,13 @@ namespace Gtk {
                public MultiSelection (owned GLib.ListModel? model);
                public unowned GLib.ListModel? get_model ();
                public void set_model (GLib.ListModel? model);
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
                public GLib.ListModel model { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_multi_sorter_get_type ()")]
        public class MultiSorter : Gtk.Sorter, GLib.ListModel, Gtk.Buildable {
@@ -9466,6 +9565,12 @@ namespace Gtk {
                public MultiSorter ();
                public void append (owned Gtk.Sorter sorter);
                public void remove (uint position);
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_named_action_get_type ()")]
        public class NamedAction : Gtk.ShortcutAction {
@@ -9507,7 +9612,13 @@ namespace Gtk {
                public NoSelection (owned GLib.ListModel? model);
                public unowned GLib.ListModel? get_model ();
                public void set_model (GLib.ListModel? model);
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
                public GLib.ListModel model { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_notebook_get_type ()")]
        public class Notebook : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
@@ -9823,20 +9934,29 @@ namespace Gtk {
                public Picture.for_resource (string? resource_path);
                public unowned string? get_alternative_text ();
                public bool get_can_shrink ();
+               [Version (since = "4.8")]
+               public Gtk.ContentFit get_content_fit ();
                public unowned GLib.File? get_file ();
+               [Version (deprecated = true, deprecated_since = "4.8")]
                public bool get_keep_aspect_ratio ();
                public unowned Gdk.Paintable? get_paintable ();
                public void set_alternative_text (string? alternative_text);
                public void set_can_shrink (bool can_shrink);
+               [Version (since = "4.8")]
+               public void set_content_fit (Gtk.ContentFit content_fit);
                public void set_file (GLib.File? file);
                public void set_filename (string? filename);
+               [Version (deprecated = true, deprecated_since = "4.8")]
                public void set_keep_aspect_ratio (bool keep_aspect_ratio);
                public void set_paintable (Gdk.Paintable? paintable);
                public void set_pixbuf (Gdk.Pixbuf? pixbuf);
                public void set_resource (string? resource_path);
                public string alternative_text { get; set; }
                public bool can_shrink { get; set; }
+               [Version (since = "4.8")]
+               public Gtk.ContentFit content_fit { get; set; }
                public GLib.File file { get; set; }
+               [Version (deprecated = true, deprecated_since = "4.8")]
                public bool keep_aspect_ratio { get; set; }
                public Gdk.Paintable paintable { get; set; }
        }
@@ -10378,7 +10498,13 @@ namespace Gtk {
                public SelectionFilterModel (Gtk.SelectionModel? model);
                public unowned Gtk.SelectionModel? get_model ();
                public void set_model (Gtk.SelectionModel? model);
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
                public Gtk.SelectionModel model { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_get_type ()")]
        public class Separator : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, 
Gtk.Orientable {
@@ -10532,9 +10658,15 @@ namespace Gtk {
                public void set_mnemonics_modifiers (Gdk.ModifierType modifiers);
                public void set_scope (Gtk.ShortcutScope scope);
                [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
+               [NoAccessorMethod]
                public Gdk.ModifierType mnemonic_modifiers { get; set; }
                [NoAccessorMethod]
                public GLib.ListModel model { construct; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
                public Gtk.ShortcutScope scope { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcut_label_get_type ()")]
@@ -10640,10 +10772,10 @@ namespace Gtk {
        public class SignalListItemFactory : Gtk.ListItemFactory {
                [CCode (has_construct_function = false, type = "GtkListItemFactory*")]
                public SignalListItemFactory ();
-               public signal void bind (Gtk.ListItem listitem);
-               public signal void setup (Gtk.ListItem listitem);
-               public signal void teardown (Gtk.ListItem listitem);
-               public signal void unbind (Gtk.ListItem listitem);
+               public signal void bind (GLib.Object object);
+               public signal void setup (GLib.Object object);
+               public signal void teardown (GLib.Object object);
+               public signal void unbind (GLib.Object object);
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_single_selection_get_type ()")]
        public class SingleSelection : GLib.Object, GLib.ListModel, Gtk.SelectionModel {
@@ -10660,7 +10792,13 @@ namespace Gtk {
                public void set_selected (uint position);
                public bool autoselect { get; set; }
                public bool can_unselect { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
                public GLib.ListModel model { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
                public uint selected { get; set; }
                public GLib.Object selected_item { get; }
        }
@@ -10685,7 +10823,13 @@ namespace Gtk {
                public void set_model (GLib.ListModel? model);
                public void set_offset (uint offset);
                public void set_size (uint size);
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
                public GLib.ListModel model { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
                public uint offset { get; set; }
                public uint size { get; set; }
        }
@@ -10754,7 +10898,13 @@ namespace Gtk {
                public void set_model (GLib.ListModel? model);
                public void set_sorter (Gtk.Sorter? sorter);
                public bool incremental { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
                public GLib.ListModel model { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
                public uint pending { get; }
                public Gtk.Sorter sorter { get; set; }
        }
@@ -11601,7 +11751,13 @@ namespace Gtk {
                public Gtk.TreeListRow? get_row (uint position);
                public void set_autoexpand (bool autoexpand);
                public bool autoexpand { get; set; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public GLib.Type item_type { get; }
                public GLib.ListModel model { get; }
+               [NoAccessorMethod]
+               [Version (since = "4.8")]
+               public uint n_items { get; }
                public bool passthrough { get; construct; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_list_row_get_type ()")]
@@ -12074,6 +12230,8 @@ namespace Gtk {
                public Pango.Layout create_pango_layout (string? text);
                [NoWrapper]
                public virtual void css_changed (Gtk.CssStyleChange change);
+               [Version (since = "4.8")]
+               public void dispose_template (GLib.Type widget_type);
                public void error_bell ();
                [NoWrapper]
                public virtual bool focus (Gtk.DirectionType direction);
@@ -13280,6 +13438,14 @@ namespace Gtk {
                MEDIUM,
                WEAK
        }
+       [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CONTENT_FIT_", type_id = 
"gtk_content_fit_get_type ()")]
+       [Version (since = "4.8")]
+       public enum ContentFit {
+               FILL,
+               CONTAIN,
+               COVER,
+               SCALE_DOWN
+       }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CORNER_", type_id = "gtk_corner_type_get_type 
()")]
        public enum CornerType {
                TOP_LEFT,
@@ -13316,7 +13482,8 @@ namespace Gtk {
                CONSTRAINTS,
                BUILDER_OBJECTS,
                A11Y,
-               ICONFALLBACK
+               ICONFALLBACK,
+               INVERT_TEXT_DIR
        }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DELETE_", type_id = "gtk_delete_type_get_type 
()")]
        public enum DeleteType {
@@ -13465,6 +13632,14 @@ namespace Gtk {
                PIN,
                TERMINAL
        }
+       [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INSCRIPTION_OVERFLOW_", type_id = 
"gtk_inscription_overflow_get_type ()")]
+       [Version (since = "4.8")]
+       public enum InscriptionOverflow {
+               CLIP,
+               ELLIPSIZE_START,
+               ELLIPSIZE_MIDDLE,
+               ELLIPSIZE_END
+       }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_JUSTIFY_", type_id = 
"gtk_justification_get_type ()")]
        public enum Justification {
                LEFT,
diff --git a/vapi/gudev-1.0.vapi b/vapi/gudev-1.0.vapi
index 0e6da3b75..1d72e54b0 100644
--- a/vapi/gudev-1.0.vapi
+++ b/vapi/gudev-1.0.vapi
@@ -47,19 +47,25 @@ namespace GUdev {
                public unowned string get_subsystem ();
                public unowned string? get_sysfs_attr (string name);
                public bool get_sysfs_attr_as_boolean (string name);
+               [Version (since = "234")]
                public bool get_sysfs_attr_as_boolean_uncached (string name);
                public double get_sysfs_attr_as_double (string name);
+               [Version (since = "234")]
                public double get_sysfs_attr_as_double_uncached (string name);
                public int get_sysfs_attr_as_int (string name);
+               [Version (since = "234")]
                public int get_sysfs_attr_as_int_uncached (string name);
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[]? get_sysfs_attr_as_strv (string name);
                [CCode (array_length = false, array_null_terminated = true)]
+               [Version (since = "234")]
                public unowned string[]? get_sysfs_attr_as_strv_uncached (string name);
                public uint64 get_sysfs_attr_as_uint64 (string name);
+               [Version (since = "234")]
                public uint64 get_sysfs_attr_as_uint64_uncached (string name);
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[] get_sysfs_attr_keys ();
+               [Version (since = "234")]
                public unowned string? get_sysfs_attr_uncached (string name);
                public unowned string get_sysfs_path ();
                [CCode (array_length = false, array_null_terminated = true)]
@@ -69,6 +75,7 @@ namespace GUdev {
                public uint64 get_usec_since_initialized ();
                public bool has_property (string key);
                public bool has_sysfs_attr (string key);
+               [Version (since = "234")]
                public bool has_sysfs_attr_uncached (string key);
        }
        [CCode (cheader_filename = "gudev/gudev.h", type_id = "g_udev_enumerator_get_type ()")]
diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi
index ca82298e6..122fbf949 100644
--- a/vapi/libnotify.vapi
+++ b/vapi/libnotify.vapi
@@ -10,6 +10,8 @@ namespace Notify {
                public void clear_actions ();
                public void clear_hints ();
                public bool close () throws GLib.Error;
+               [Version (since = "0.7.10")]
+               public unowned string get_activation_token ();
                public int get_closed_reason ();
                [Version (since = "0.7.3")]
                public void set_app_name (string app_name);
@@ -48,6 +50,15 @@ namespace Notify {
                public string summary { owned get; set construct; }
                public virtual signal void closed ();
        }
+       [CCode (cheader_filename = "libnotify/notify.h", cprefix = "NOTIFY_CLOSED_REASON_", type_id = 
"notify_closed_reason_get_type ()")]
+       [Version (since = "0.8.0")]
+       public enum ClosedReason {
+               UNSET,
+               EXPIRED,
+               DISMISSED,
+               API_REQUEST,
+               UNDEFIEND
+       }
        [CCode (cheader_filename = "libnotify/notify.h", cprefix = "NOTIFY_URGENCY_", type_id = 
"notify_urgency_get_type ()")]
        public enum Urgency {
                LOW,
@@ -73,7 +84,7 @@ namespace Notify {
        [CCode (cheader_filename = "libnotify/notify.h")]
        public static bool get_server_info (out string ret_name, out string ret_vendor, out string 
ret_version, out string ret_spec_version);
        [CCode (cheader_filename = "libnotify/notify.h")]
-       public static bool init (string app_name);
+       public static bool init (string? app_name);
        [CCode (cheader_filename = "libnotify/notify.h")]
        public static bool is_initted ();
        [CCode (cheader_filename = "libnotify/notify.h")]
diff --git a/vapi/libsoup-3.0.vapi b/vapi/libsoup-3.0.vapi
index ef8592e7c..58507bddc 100644
--- a/vapi/libsoup-3.0.vapi
+++ b/vapi/libsoup-3.0.vapi
@@ -109,7 +109,6 @@ namespace Soup {
                protected AuthManager ();
                public void clear_cached_credentials ();
                public void use_auth (GLib.Uri uri, Soup.Auth auth);
-               public signal void authenticate (Soup.Message msg, Soup.Auth auth, bool retrying);
        }
        [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_auth_ntlm_get_type ()")]
        public sealed class AuthNTLM : Soup.Auth {
@@ -522,6 +521,10 @@ namespace Soup {
                public unowned Soup.MessageHeaders get_response_headers ();
                public unowned GLib.Socket? get_socket ();
                public uint get_status ();
+               [Version (since = "3.2")]
+               public unowned GLib.TlsCertificate? get_tls_peer_certificate ();
+               [Version (since = "3.2")]
+               public GLib.TlsCertificateFlags get_tls_peer_certificate_errors ();
                public unowned GLib.Uri get_uri ();
                public bool is_options_ping ();
                public void set_http_version (Soup.HTTPVersion version);
@@ -529,6 +532,10 @@ namespace Soup {
                public void set_response (string? content_type, Soup.MemoryUse resp_use, [CCode 
(array_length_cname = "resp_length", array_length_pos = 3.1, array_length_type = "gsize")] uint8[]? 
resp_body);
                public void set_status (uint status_code, string? reason_phrase);
                public GLib.IOStream steal_connection ();
+               [Version (since = "3.2")]
+               public GLib.TlsCertificate tls_peer_certificate { get; }
+               [Version (since = "3.2")]
+               public GLib.TlsCertificateFlags tls_peer_certificate_errors { get; }
                public signal bool accept_certificate (GLib.TlsCertificate tls_peer_certificate, 
GLib.TlsCertificateFlags tls_peer_errors);
                public signal void disconnected ();
                public signal void finished ();
diff --git a/vapi/pango.deps b/vapi/pango.deps
index 75430e6b4..4869c2152 100644
--- a/vapi/pango.deps
+++ b/vapi/pango.deps
@@ -1,2 +1,3 @@
 cairo
+gio-2.0
 harfbuzz-gobject
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 5e28d2ec3..9a8c6aaec 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -322,7 +322,7 @@ namespace Pango {
                public virtual void list_sizes ([CCode (array_length_cname = "n_sizes", array_length_pos = 
1.1)] out int[]? sizes);
        }
        [CCode (cheader_filename = "pango/pango.h", type_id = "pango_font_family_get_type ()")]
-       public abstract class FontFamily : GLib.Object {
+       public abstract class FontFamily : GLib.Object, GLib.ListModel {
                [CCode (has_construct_function = false)]
                protected FontFamily ();
                [Version (since = "1.46")]
@@ -333,9 +333,13 @@ namespace Pango {
                [Version (since = "1.44")]
                public virtual bool is_variable ();
                public virtual void list_faces ([CCode (array_length_cname = "n_faces", array_length_pos = 
1.1)] out (unowned Pango.FontFace)[] faces);
+               [NoAccessorMethod]
+               public GLib.Type item_type { get; }
+               [NoAccessorMethod]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "pango/pango.h", type_id = "pango_font_map_get_type ()")]
-       public abstract class FontMap : GLib.Object {
+       public abstract class FontMap : GLib.Object, GLib.ListModel {
                [CCode (has_construct_function = false)]
                protected FontMap ();
                [Version (since = "1.34")]
@@ -349,6 +353,10 @@ namespace Pango {
                public virtual void list_families ([CCode (array_length_cname = "n_families", 
array_length_pos = 1.1)] out (unowned Pango.FontFamily)[] families);
                public virtual Pango.Font? load_font (Pango.Context context, Pango.FontDescription desc);
                public virtual Pango.Fontset? load_fontset (Pango.Context context, Pango.FontDescription 
desc, Pango.Language language);
+               [NoAccessorMethod]
+               public GLib.Type item_type { get; }
+               [NoAccessorMethod]
+               public uint n_items { get; }
        }
        [CCode (cheader_filename = "pango/pango.h", ref_function = "pango_font_metrics_ref", type_id = 
"pango_font_metrics_get_type ()", unref_function = "pango_font_metrics_unref")]
        [Compact]


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