From: Rico Tzschichholz Date: Wed, 30 May 2018 09:10:16 +0000 (+0200) Subject: gdk-pixbuf-2.0: Drop vala-specific deprecations <= vala-0.22 X-Git-Tag: 0.41.90~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3a4de74c6873aa9c7b24871e75f6eb3b4d8254e;p=thirdparty%2Fvala.git gdk-pixbuf-2.0: Drop vala-specific deprecations <= vala-0.22 --- diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index abb073d5c..ba9088a64 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -83,12 +83,6 @@ namespace Gdk { public unowned uint8[] get_pixels_with_length (); public int get_rowstride (); public int get_width (); - [CCode (cname = "gdk_pixbuf_new_from_stream_async", finish_name = "gdk_pixbuf_new_from_stream_finish")] - [Version (deprecated_since = "vala-0.18", replacement = "Pixbuf.from_stream_async")] - public static async Gdk.Pixbuf new_from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error; - [CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")] - [Version (deprecated_since = "vala-0.18", replacement = "Pixbuf.from_stream_at_scale_async")] - public static async Gdk.Pixbuf new_from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error; [Version (since = "2.32")] public GLib.Bytes read_pixel_bytes (); [Version (since = "2.32")] diff --git a/vapi/metadata/GdkPixbuf-2.0-custom.vala b/vapi/metadata/GdkPixbuf-2.0-custom.vala index 34bb18b31..439d2705c 100644 --- a/vapi/metadata/GdkPixbuf-2.0-custom.vala +++ b/vapi/metadata/GdkPixbuf-2.0-custom.vala @@ -2,12 +2,6 @@ namespace Gdk { public class Pixbuf : GLib.Object { [CCode (has_construct_function = false, cname = "gdk_pixbuf_new_from_data")] public Pixbuf.with_unowned_data ([CCode (array_length = false)] uint8[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, [CCode (type = "GdkPixbufDestroyNotify")] Gdk.PixbufDestroyNotify? destroy_fn = null); - [Version (deprecated_since = "vala-0.18", replacement = "Pixbuf.from_stream_async")] - [CCode (cname = "gdk_pixbuf_new_from_stream_async", finish_name = "gdk_pixbuf_new_from_stream_finish")] - public static async Gdk.Pixbuf new_from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error; - [Version (deprecated_since = "vala-0.18", replacement = "Pixbuf.from_stream_at_scale_async")] - [CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")] - public static async Gdk.Pixbuf new_from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error; } [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", instance_pos = -0.9)]