[vala] gdk-pixbuf-2.0: Fix gdk_pixbuf_get_file_info binding



commit 053ae36f598bd033f911a4130e6af8f2810b509e
Author: Jürg Billeter <j bitron ch>
Date:   Thu Apr 23 17:14:07 2009 +0200

    gdk-pixbuf-2.0: Fix gdk_pixbuf_get_file_info binding
---
 vapi/gdk-pixbuf-2.0.vapi                           |    2 +-
 .../gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata         |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index b93ad04..3b900b3 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -33,7 +33,7 @@ namespace Gdk {
 		public Pixbuf.from_xpm_data ([CCode (array_length = false)] string[] data);
 		public int get_bits_per_sample ();
 		public Gdk.Colorspace get_colorspace ();
-		public static unowned Gdk.PixbufFormat get_file_info (string filename, int width, int height);
+		public static unowned Gdk.PixbufFormat get_file_info (string filename, out int width, out int height);
 		public static unowned GLib.SList get_formats ();
 		public bool get_has_alpha ();
 		public int get_height ();
diff --git a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
index 2e6084e..0ff65db 100644
--- a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
+++ b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
@@ -1,4 +1,6 @@
 Gdk cheader_filename="gdk-pixbuf/gdk-pixdata.h"
+gdk_pixbuf_get_file_info.width is_out="1"
+gdk_pixbuf_get_file_info.height is_out="1"
 gdk_pixbuf_get_pixels no_array_length="1"
 gdk_pixbuf_new_from_data.destroy_fn nullable="1"
 gdk_pixbuf_new_from_data.destroy_fn_data hidden="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]