[vala/staging: 2/4] gdk-pixbuf-2.0: Fix Pixbuf.save_to_stream_async()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 2/4] gdk-pixbuf-2.0: Fix Pixbuf.save_to_stream_async()
- Date: Mon, 6 Mar 2017 08:41:20 +0000 (UTC)
commit ed96b5c755a26788a17999f04f931caac3922a04
Author: Florian Brosch <flo brosch gmail com>
Date: Sun Oct 20 17:19:35 2013 +0200
gdk-pixbuf-2.0: Fix Pixbuf.save_to_stream_async()
vapi/gdk-pixbuf-2.0.vapi | 2 +-
vapi/metadata/GdkPixbuf-2.0.metadata | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index 4f47f53..d9387d3 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -107,7 +107,7 @@ namespace Gdk {
public bool save_to_callbackv ([CCode (delegate_target_pos = 1.5)] Gdk.PixbufSaveFunc
save_func, string type, [CCode (array_length = false, array_null_terminated = true)] string[] option_keys,
[CCode (array_length = false, array_null_terminated = true)] string[] option_values) throws GLib.Error;
[Version (since = "2.14")]
public bool save_to_stream (GLib.OutputStream stream, string type, GLib.Cancellable?
cancellable = null, ...) throws GLib.Error;
- [CCode (finish_name = "gdk_pixbuf_save_to_stream_finish")]
+ [CCode (finish_instance = false, finish_name = "gdk_pixbuf_save_to_stream_finish", sentinel =
"NULL")]
[Version (since = "2.24")]
public async void save_to_stream_async (GLib.OutputStream stream, string type,
GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
[Version (since = "2.36")]
diff --git a/vapi/metadata/GdkPixbuf-2.0.metadata b/vapi/metadata/GdkPixbuf-2.0.metadata
index 003ddae..633f6a2 100644
--- a/vapi/metadata/GdkPixbuf-2.0.metadata
+++ b/vapi/metadata/GdkPixbuf-2.0.metadata
@@ -17,7 +17,7 @@ Pixbuf
.save_to_callback.error skip
.save_to_stream throws throws="GLib.Error"
.save_to_stream.error skip
- .save_to_stream_async finish_name="gdk_pixbuf_save_to_stream_finish" throws="GLib.Error"
+ .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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]