Commit 2ce7517d authored by Rico Tzschichholz's avatar Rico Tzschichholz

gdk-pixbuf-2.0: Update to 2.37.0~5ec6746e

parent a2ddccab
......@@ -443,7 +443,7 @@ gdk-3.0:
$(GENVAPI) --library $(srcdir)/gdk-3.0 --pkg gio-2.0 --metadatadir $(METADATADIR) $(METADATADIR)/Gdk-3.0-custom.vala $(GIRDIR)/Gdk-3.0.gir
gdk-pixbuf-2.0:
$(GENVAPI) --library $(srcdir)/gdk-pixbuf-2.0 --pkg gio-2.0 --metadatadir $(METADATADIR) $(METADATADIR)/GdkPixbuf-2.0-custom.vala $(GIRDIR)/GdkPixbuf-2.0.gir
$(GENVAPI) --library $(srcdir)/gdk-pixbuf-2.0 --pkg gio-2.0 --metadatadir $(METADATADIR) $(METADATADIR)/GdkPixbuf-2.0-custom.vala $(GIRDIR)/GdkPixdata-2.0.gir $(GIRDIR)/GdkPixbuf-2.0.gir
gdk-x11-2.0:
$(GENVAPI) --library $(srcdir)/gdk-x11-2.0 $(PACKAGESDIR)/gdk-x11-2.0/gdk-x11-2.0-custom.vala $(PACKAGESDIR)/gdk-x11-2.0/gdk-x11-2.0.gi
......
......@@ -2,6 +2,12 @@ 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);
[CCode (has_construct_function = false)]
[Version (deprecated = true, deprecated_since = "2.32")]
public Pixbuf.from_inline ([CCode (array_length_cname = "data_length", array_length_pos = 0.5)] uint8[] data, bool copy_pixels = true) throws GLib.Error;
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
[Version (deprecated = true, deprecated_since = "2.32")]
public static Gdk.Pixbuf from_pixdata (Gdk.Pixdata pixdata, bool copy_pixels = true) throws GLib.Error;
}
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", instance_pos = -0.9)]
......
......@@ -6,6 +6,7 @@ Pixbuf
.new_from_stream_at_scale_async symbol_type="constructor" finish_name="gdk_pixbuf_new_from_stream_finish" throws="GLib.Error"
.new_from_stream_finish skip
.new_from_data.data owned
.new_from_inline skip
.new_subpixbuf symbol_type="constructor"
.get_file_info_async.cancellable default=()
.save* skip=false
......@@ -20,19 +21,9 @@ Pixbuf
.save_to_stream_async finish_name="gdk_pixbuf_save_to_stream_finish" finish_instance=false sentinel="NULL" throws="GLib.Error"
.save_to_stream_finish skip
// gdk-pixdata.h isn't included by gdk-pixbuf.h
Pixdata* cheader_filename="gdk-pixbuf/gdk-pixdata.h"
Pixbuf
.from_pixdata cheader_filename="gdk-pixbuf/gdk-pixdata.h"
// default values other than null
Pixbuf
.new_from_data.destroy_fn default=GLib.free
// Bug #558620: default values
Pixbuf
.from_pixdata.copy_pixels default=true
.new_from_inline.copy_pixels default=true
// Bug #666798: delegates which throw exceptions
PixbufSaveFunc skip
Pixdata* cheader_filename="gdk-pixbuf/gdk-pixdata.h"
pixbuf_from_pixdata skip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment