]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-pixbuf-2.0: update to latest git
authorEvan Nemerson <evan@nemerson.com>
Sat, 17 May 2014 03:25:07 +0000 (20:25 -0700)
committerEvan Nemerson <evan@nemerson.com>
Sat, 17 May 2014 03:25:07 +0000 (20:25 -0700)
vapi/gdk-pixbuf-2.0.vapi
vapi/metadata/GdkPixbuf-2.0.metadata

index b91770c79966ddc16ee7f40ea0570d3537d233ff..a021fb25f187f01dba9b6b3d240c8a9416789846 100644 (file)
@@ -10,7 +10,7 @@ namespace Gdk {
                public Gdk.Pixbuf apply_embedded_orientation ();
                public void composite (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha);
                public void composite_color (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha, int check_x, int check_y, int check_size, uint32 color1, uint32 color2);
-               public Gdk.Pixbuf? composite_color_simple (int dest_width, int dest_height, Gdk.InterpType interp_type, int overall_alpha, int check_size, uint32 color1, uint32 color2);
+               public Gdk.Pixbuf composite_color_simple (int dest_width, int dest_height, Gdk.InterpType interp_type, int overall_alpha, int check_size, uint32 color1, uint32 color2);
                public Gdk.Pixbuf copy ();
                public void copy_area (int src_x, int src_y, int width, int height, Gdk.Pixbuf dest_pixbuf, int dest_x, int dest_y);
                public void fill (uint32 pixel);
@@ -44,7 +44,7 @@ namespace Gdk {
                public int get_bits_per_sample ();
                public size_t get_byte_length ();
                public Gdk.Colorspace get_colorspace ();
-               public static unowned Gdk.PixbufFormat get_file_info (string filename, out int width, out int height);
+               public static unowned Gdk.PixbufFormat? get_file_info (string filename, out int width, out int height);
                public static GLib.SList<weak Gdk.PixbufFormat> get_formats ();
                public bool get_has_alpha ();
                public int get_height ();
@@ -62,7 +62,7 @@ namespace Gdk {
                [CCode (cname = "gdk_pixbuf_new_from_stream_at_scale_async", finish_name = "gdk_pixbuf_new_from_stream_finish")]
                [Deprecated (replacement = "Pixbuf.from_stream_at_scale_async", since = "vala-0.18")]
                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;
-               public Gdk.Pixbuf rotate_simple (Gdk.PixbufRotation angle);
+               public Gdk.Pixbuf? rotate_simple (Gdk.PixbufRotation angle);
                public void saturate_and_pixelate (Gdk.Pixbuf dest, float saturation, bool pixelate);
                public bool save (string filename, string type, ...) throws GLib.Error;
                public bool save_to_buffer ([CCode (array_length_type = "gsize", type = "gchar**")] out uint8[] buffer, string type, ...) throws GLib.Error;
@@ -138,7 +138,7 @@ namespace Gdk {
                public PixbufLoader ();
                public bool close () throws GLib.Error;
                public unowned Gdk.PixbufAnimation get_animation ();
-               public unowned Gdk.PixbufFormat get_format ();
+               public unowned Gdk.PixbufFormat? get_format ();
                public unowned Gdk.Pixbuf get_pixbuf ();
                public void set_size (int width, int height);
                [CCode (has_construct_function = false)]
index a81e591b423bcc8b1c19accccaa3a31f85ea1752..4026d397077bcd14ac8d60f4abd7ba865072d39e 100644 (file)
@@ -19,10 +19,5 @@ Pixbuf
         .from_pixdata.copy_pixels default=true
         .new_from_inline.copy_pixels default=true
 
-// Bug #660879: nullability of return values
-Pixbuf
-        .composite_color_simple nullable
-        .flip nullable
-
 // Bug #666798: delegates which throw exceptions
 PixbufSaveFunc skip