]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings 98d3f540b39da1bdfa2819d206ca5cab8dc935f4
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 20 Jan 2020 19:18:01 +0000 (20:18 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 20 Jan 2020 19:18:01 +0000 (20:18 +0100)
vapi/atk.vapi
vapi/atspi-2.vapi
vapi/gio-2.0.vapi
vapi/gnome-desktop-3.0.vapi
vapi/graphene-gobject-1.0.vapi
vapi/json-glib-1.0.vapi
vapi/libsoup-2.4.vapi
vapi/metadata/GnomeDesktop-3.0-custom.vala
vapi/metadata/Gtk-3.0.metadata

index 9863c3d023969d922aabb4579361c5f4eb747c15..81850f8eabfbd0a98d74487cab999ed4656666ce 100644 (file)
@@ -794,6 +794,8 @@ namespace Atk {
                FOOTNOTE,
                CONTENT_DELETION,
                CONTENT_INSERTION,
+               MARK,
+               SUGGESTION,
                LAST_DEFINED;
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.Role for_name (string name);
@@ -899,6 +901,7 @@ namespace Atk {
                STRETCH,
                VARIANT,
                STYLE,
+               TEXT_POSITION,
                LAST_DEFINED;
                [CCode (cheader_filename = "atk/atk.h")]
                public static Atk.TextAttribute for_name (string name);
index 957249fd7c4f72aa15071d218603530a30b06d3b..e169c2c54d3457a6932a494282c6fbee7102a95a 100644 (file)
@@ -701,6 +701,8 @@ namespace Atspi {
                FOOTNOTE,
                CONTENT_DELETION,
                CONTENT_INSERTION,
+               MARK,
+               SUGGESTION,
                LAST_DEFINED;
                public string get_name ();
        }
index bd291afbfb67cf384c4ab2dc698b0cb585ba468d..257a8ab1b83d022b374952f1252b6ab64ffe49b0 100644 (file)
@@ -3502,6 +3502,7 @@ namespace GLib {
                public abstract unowned string? get_negotiated_protocol ();
                public unowned GLib.TlsCertificate get_peer_certificate ();
                public GLib.TlsCertificateFlags get_peer_certificate_errors ();
+               [Version (deprecated = true, deprecated_since = "2.64.", since = "2.48")]
                public GLib.TlsRehandshakeMode get_rehandshake_mode ();
                public bool get_require_close_notify ();
                public abstract bool handshake (GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -3535,7 +3536,7 @@ namespace GLib {
                [ConcreteAccessor]
                public abstract GLib.TlsCertificateFlags peer_certificate_errors { get; }
                [ConcreteAccessor]
-               [Version (deprecated = true, deprecated_since = "2.60.", since = "2.48")]
+               [Version (deprecated = true, deprecated_since = "2.60", since = "2.48")]
                public abstract GLib.TlsRehandshakeMode rehandshake_mode { get; set construct; }
                [ConcreteAccessor]
                public abstract bool require_close_notify { get; set construct; }
index 0e489bc475f09e3b00642787eceb6abd358427a5..12450b05520ddc5ffd9c5e1d48db98a0a24e757f 100644 (file)
@@ -48,13 +48,14 @@ namespace Gnome {
                public BG ();
                public bool changes_with_time ();
                public Gdk.Pixbuf create_frame_thumbnail (Gnome.DesktopThumbnailFactory factory, Gdk.Screen screen, int dest_width, int dest_height, int frame_num);
-               public Cairo.Surface create_surface (Gdk.Window window, int width, int height, bool root);
+               public Cairo.Surface create_surface (Gdk.Window window, int width, int height);
                public Gdk.Pixbuf create_thumbnail (Gnome.DesktopThumbnailFactory factory, Gdk.Screen screen, int dest_width, int dest_height);
-               public void draw (Gdk.Pixbuf dest, Gdk.Screen screen, bool is_root);
+               public void draw (Gdk.Pixbuf dest);
                public unowned string get_filename ();
                public bool get_image_size (Gnome.DesktopThumbnailFactory factory, int best_width, int best_height, int width, int height);
                public GDesktop.BackgroundStyle get_placement ();
                public void get_rgba (GDesktop.BackgroundShading type, Gdk.RGBA primary, Gdk.RGBA secondary);
+               [Version (deprecated = true, deprecated_since = "3.36")]
                public static Cairo.Surface get_surface_from_root (Gdk.Screen screen);
                public bool has_multiple_sizes ();
                public bool is_dark (int dest_width, int dest_height);
@@ -63,7 +64,9 @@ namespace Gnome {
                public void set_filename (string filename);
                public void set_placement (GDesktop.BackgroundStyle placement);
                public void set_rgba (GDesktop.BackgroundShading type, Gdk.RGBA primary, Gdk.RGBA secondary);
+               [Version (deprecated = true, deprecated_since = "3.36")]
                public static void set_surface_as_root (Gdk.Screen screen, Cairo.Surface surface);
+               [Version (deprecated = true, deprecated_since = "3.36")]
                public static Gnome.BGCrossfade set_surface_as_root_with_crossfade (Gdk.Screen screen, Cairo.Surface surface);
                public signal void changed ();
                public signal void transitioned ();
@@ -130,10 +133,12 @@ namespace Gnome {
                public uint add_idle_watch (uint64 interval_msec, owned Gnome.IdleMonitorWatchFunc? callback);
                public uint add_user_active_watch (owned Gnome.IdleMonitorWatchFunc? callback);
                [CCode (has_construct_function = false)]
+               [Version (deprecated = true, deprecated_since = "3.36")]
                public IdleMonitor.for_device (Gdk.Device device) throws GLib.Error;
                public uint64 get_idletime ();
                public void remove_watch (uint id);
                [NoAccessorMethod]
+               [Version (deprecated = true, deprecated_since = "3.36")]
                public Gdk.Device device { owned get; construct; }
        }
        [CCode (cheader_filename = "libgnome-desktop/gnome-pnp-ids.h", type_id = "gnome_pnp_ids_get_type ()")]
index 42855f79478ae5b5d53012532ac37641c78c991a..1a9926a49d89dd621bfea965f9c51dc883279de8 100644 (file)
@@ -684,8 +684,4 @@ namespace Graphene {
        [CCode (cheader_filename = "graphene-gobject.h", cname = "GRAPHENE_VEC4_LEN")]
        [Version (since = "1.0")]
        public const int VEC4_LEN;
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "false")]
-       public const int @false;
-       [CCode (cheader_filename = "graphene-gobject.h", cname = "true")]
-       public const int @true;
 }
index 4a06d2a061f2d53eba305d034672b1a667390440..b9025b514fbe075aa6becaf917db2a1730f484e6 100644 (file)
@@ -321,7 +321,7 @@ namespace Json {
                [Version (since = "0.10")]
                public bool default_deserialize_property (string property_name, out GLib.Value value, GLib.ParamSpec pspec, Json.Node property_node);
                [Version (since = "0.10")]
-               public Json.Node default_serialize_property (string property_name, GLib.Value value, GLib.ParamSpec pspec);
+               public Json.Node? default_serialize_property (string property_name, GLib.Value value, GLib.ParamSpec pspec);
                public virtual bool deserialize_property (string property_name, out GLib.Value value, GLib.ParamSpec pspec, Json.Node property_node);
                [Version (since = "0.14")]
                public virtual unowned GLib.ParamSpec? find_property (string name);
index 36b741e1e26f6e63998ee188e4f4de08594b430d..1f18cfcf420373b5a93281b571322e9dae3a2fe1 100644 (file)
@@ -489,7 +489,7 @@ namespace Soup {
                public bool is_past ();
                public string to_string (Soup.DateFormat format);
                public time_t to_time_t ();
-               [Version (since = "2.24")]
+               [Version (deprecated = true, since = "2.24")]
                public GLib.TimeVal to_timeval ();
        }
        [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_hsts_enforcer_get_type ()")]
index d06a5d2d490f2f699951d4dc23c00c1e6b4dcf75..7b1861bfa941ade6c2e1e186ec1b9ecb4114fe80 100644 (file)
@@ -1,4 +1,16 @@
 namespace Gnome {
+       [CCode (cheader_filename = "libgnome-desktop/gnome-bg.h", type_id = "gnome_bg_get_type ()")]
+       public class BG : GLib.Object {
+               //FIXME public Cairo.Surface create_surface (Gdk.Window window, int width, int height, bool root);
+               //FIXME public void draw (Gdk.Pixbuf dest, Gdk.Screen screen, bool is_root);
+               [Version (deprecated = true, deprecated_since = "3.36")]
+               public static Cairo.Surface get_surface_from_root (Gdk.Screen screen);
+               [Version (deprecated = true, deprecated_since = "3.36")]
+               public static void set_surface_as_root (Gdk.Screen screen, Cairo.Surface surface);
+               [Version (deprecated = true, deprecated_since = "3.36")]
+               public static Gnome.BGCrossfade set_surface_as_root_with_crossfade (Gdk.Screen screen, Cairo.Surface surface);
+       }
+
        [CCode (cheader_filename = "libgnome-desktop/gnome-bg-slide-show.h", type_id = "gnome_bg_slide_show_get_type ()")]
        public class BGSlideShow : GLib.Object {
                public void load_async (GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
@@ -7,4 +19,13 @@ namespace Gnome {
                [Version (deprecated = true, deprecated_since = "3.34")]
                public string filename { owned get; construct; }
        }
+       [CCode (cheader_filename = "libgnome-desktop/gnome-idle-monitor.h", type_id = "gnome_idle_monitor_get_type ()")]
+       public class IdleMonitor : GLib.Object {
+               [CCode (has_construct_function = false)]
+               [Version (deprecated = true, deprecated_since = "3.36")]
+               public IdleMonitor.for_device (Gdk.Device device) throws GLib.Error;
+               [NoAccessorMethod]
+               [Version (deprecated = true, deprecated_since = "3.36")]
+               public Gdk.Device device { owned get; construct; }
+       }
 }
index b115e326d0aa005ec7e72afa957c97345407b6ee..77356e60db52b9e71a24d9676fed38d4bd1b8cfe 100644 (file)
@@ -415,7 +415,6 @@ NumerableIcon
   .new_with_style_context symbol_type="constructor"
 TreeModel
   .filter_new parent="Gtk.TreeModelFilter" name="new" symbol_type="constructor"
-  .sort_new_with_model parent="Gtk.TreeModelSort" name="new_with_model" symbol_type="constructor"
 
 // These aren't actually used publicly anywhere.
 TableChild skip