]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings edf4b3dcbabe7f3a0e3cd0207205d82236b82c8a
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 9 Dec 2019 12:50:55 +0000 (13:50 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 9 Dec 2019 12:50:55 +0000 (13:50 +0100)
vapi/gdk-pixbuf-2.0.vapi
vapi/gio-2.0.vapi
vapi/gnome-desktop-3.0.vapi
vapi/gstreamer-base-1.0.vapi
vapi/gstreamer-check-1.0.vapi
vapi/gtk4.vapi
vapi/metadata/GnomeDesktop-3.0.metadata
vapi/pango.vapi

index 5f0783302af6b15d8db45f68d9792daee70f1bc5..898e50085a4ed85236042cc9b9c0cde535d3af12 100644 (file)
@@ -265,6 +265,7 @@ namespace Gdk {
                HYPER
        }
        [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_ALPHA_", type_id = "gdk_pixbuf_alpha_mode_get_type ()")]
+       [Version (deprecated = true)]
        public enum PixbufAlphaMode {
                BILEVEL,
                FULL
index d6975a66b384feb2b149147a591a349727e3dc95..1d9f8bf1049f1b4672d32c8ebdfcfadddb972dce 100644 (file)
@@ -1674,6 +1674,10 @@ namespace GLib {
                public ListStore (GLib.Type item_type);
                [Version (since = "2.44")]
                public void append (GLib.Object item);
+               [Version (since = "2.64")]
+               public bool find (GLib.Object item, out uint position);
+               [Version (since = "2.64")]
+               public bool find_with_equal_func (GLib.Object item, GLib.EqualFunc equal_func, out uint position);
                [Version (since = "2.44")]
                public void insert (uint position, GLib.Object item);
                [Version (since = "2.44")]
index 270cd84a8da3bb9f27e799b5ba5fd9fe11f3b3ca..0e489bc475f09e3b00642787eceb6abd358427a5 100644 (file)
@@ -353,4 +353,6 @@ namespace Gnome {
        public delegate void IdleMonitorWatchFunc (Gnome.IdleMonitor monitor, uint id);
        [CCode (cheader_filename = "libgnome-desktop/gnome-rr.h", cname = "GNOME_RR_CONNECTOR_TYPE_PANEL")]
        public const string RR_CONNECTOR_TYPE_PANEL;
+       [CCode (cheader_filename = "libgnome-desktop/gnome-systemd.h")]
+       public static async bool start_systemd_scope (string name, int32 pid, string? description, GLib.DBusConnection? connection, GLib.Cancellable? cancellable) throws GLib.Error;
 }
index 2ea72a8e2901d71df0800e557ccb30a575115054..d1ae138cb5adef5f6410564c5e152cbb37b3029c 100644 (file)
@@ -104,6 +104,8 @@ namespace Gst {
                        public virtual bool start ();
                        [NoWrapper]
                        public virtual bool stop ();
+                       [Version (since = "1.18")]
+                       public void update_segment (Gst.Segment segment);
                        [NoWrapper]
                        public virtual Gst.FlowReturn update_src_caps (Gst.Caps caps, out Gst.Caps ret);
                        [NoAccessorMethod]
index 35ddf49ed7dcf629e37b6bcf2bae78da27a2b4ab..68f325442ba0576e2b26b805609fc4be70c25ce5 100644 (file)
@@ -38,6 +38,8 @@ namespace Gst {
                        public static Gst.ClockTime id_list_get_latest_time (GLib.List<Gst.ClockID?>? pending_list);
                        public uint peek_id_count ();
                        public bool peek_next_pending_id (out Gst.ClockID pending_id);
+                       [Version (since = "1.18")]
+                       public bool process_id (owned Gst.ClockID pending_id);
                        [Version (since = "1.4")]
                        public uint process_id_list (GLib.List<Gst.ClockID?>? pending_list);
                        public Gst.ClockID process_next_clock_id ();
index 879357b5ddb249441dae2560f5eeea9451022839..2ac17ec17831b0f0edbdc033fdd850db7be36a57 100644 (file)
@@ -11421,7 +11421,7 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tree_list_model_get_type ()")]
        public class TreeListModel : GLib.Object, GLib.ListModel {
                [CCode (has_construct_function = false)]
-               protected TreeListModel ();
+               public TreeListModel (bool passthrough, GLib.ListModel root, bool autoexpand, owned Gtk.TreeListModelCreateModelFunc create_func);
                public bool get_autoexpand ();
                public Gtk.TreeListRow? get_child_row (uint position);
                public unowned GLib.ListModel get_model ();
@@ -13910,6 +13910,8 @@ namespace Gtk {
        public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
        public delegate int TreeIterCompareFunc (Gtk.TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b);
+       [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
+       public delegate GLib.ListModel? TreeListModelCreateModelFunc (GLib.Object item);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
        public delegate void TreeModelFilterModifyFunc (Gtk.TreeModel model, Gtk.TreeIter iter, out GLib.Value value, int column);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
index af2b174f41d9ece0066a546e25a4e7dabfef0458..34fadeb075d151fb798251274864d736179e6b23 100644 (file)
@@ -29,6 +29,8 @@ RRConfig cheader_filename="libgnome-desktop/gnome-rr-config.h"
 RRScreen
        .new name="new_sync"
 
+start_systemd_scope cheader_filename="libgnome-desktop/gnome-systemd.h"
+
 WallClock cheader_filename="libgnome-desktop/gnome-wall-clock.h"
 
 XkbInfo cheader_filename="libgnome-desktop/gnome-xkb-info.h"
index cfad28047e80f6a364725f1095698139c42b9ad4..6e2625ff90db12292f076f6567f4d5b68b32109a 100644 (file)
@@ -307,7 +307,7 @@ namespace Pango {
                [CCode (has_construct_function = false)]
                protected FontFamily ();
                [Version (since = "1.46")]
-               public virtual unowned Pango.FontFace get_face (string name);
+               public virtual unowned Pango.FontFace? get_face (string name);
                public virtual unowned string get_name ();
                [Version (since = "1.4")]
                public virtual bool is_monospace ();