summaryrefslogtreecommitdiff
path: root/vapi/gdk-pixbuf-2.0.vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2014-10-22 10:40:37 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2014-10-22 10:40:37 +0200
commita52f5ad4feff10381edde621af0a2f37a6840e57 (patch)
tree88642426ff2648a04698435ac450ce593600f4b8 /vapi/gdk-pixbuf-2.0.vapi
parentc4507556aefa681c55f968dc559b23f4f592d933 (diff)
downloadvala-a52f5ad4feff10381edde621af0a2f37a6840e57.tar.gz
bindings: Update GIR-based bindings
Diffstat (limited to 'vapi/gdk-pixbuf-2.0.vapi')
-rw-r--r--vapi/gdk-pixbuf-2.0.vapi6
1 files changed, 6 insertions, 0 deletions
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index 7dac67f8e..40e366abf 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -26,8 +26,10 @@ namespace Gdk {
[CCode (has_construct_function = false)]
public Pixbuf.from_file_at_size (string filename, int width, int height) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [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")]
+ [Deprecated (since = "2.32")]
public static Gdk.Pixbuf from_pixdata (Gdk.Pixdata pixdata, bool copy_pixels = true) throws GLib.Error;
[CCode (has_construct_function = false)]
public Pixbuf.from_resource (string resource_path) throws GLib.Error;
@@ -53,6 +55,7 @@ namespace Gdk {
public int get_height ();
public int get_n_channels ();
public unowned string get_option (string key);
+ public GLib.HashTable<weak void*,weak void*> get_options ();
[CCode (array_length = false)]
public unowned uint8[] get_pixels ();
[CCode (array_length_pos = 0.1, array_length_type = "guint")]
@@ -183,9 +186,12 @@ namespace Gdk {
public uint32 height;
[CCode (array_length = false, array_null_terminated = true)]
public weak uint8[] pixel_data;
+ [Deprecated (since = "2.32")]
public bool deserialize ([CCode (array_length_cname = "stream_length", array_length_pos = 0.5, array_length_type = "guint")] uint8[] stream) throws GLib.Error;
[CCode (array_length_pos = 0.1, array_length_type = "guint")]
+ [Deprecated (since = "2.32")]
public uint8[] serialize ();
+ [Deprecated (since = "2.32")]
public GLib.StringBuilder to_csource (string name, Gdk.PixdataDumpType dump_type);
}
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_COLORSPACE_", type_id = "gdk_colorspace_get_type ()")]