]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-2.0: buf argument of gdk_draw_*_image doesn't have an array length
authorEvan Nemerson <evan@coeus-group.com>
Wed, 5 May 2010 00:08:15 +0000 (17:08 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Wed, 5 May 2010 00:08:15 +0000 (17:08 -0700)
Fixes bug 617534.

vapi/gdk-2.0.vapi
vapi/packages/gdk-2.0/gdk-2.0.metadata

index 966206981b9ae70057664c1db53f1500b2fdf32a..d5f4f16730984e9add375a93bcb35aa5568b1d95 100644 (file)
@@ -1633,11 +1633,11 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void draw_glyphs_transformed (Gdk.Drawable drawable, Gdk.GC gc, Pango.Matrix matrix, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static void draw_gray_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride);
+       public static void draw_gray_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] buf, int rowstride);
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void draw_image (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Image image, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static void draw_indexed_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride, Gdk.RgbCmap cmap);
+       public static void draw_indexed_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] buf, int rowstride, Gdk.RgbCmap cmap);
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static void draw_layout (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, Pango.Layout layout);
        [CCode (cheader_filename = "gdk/gdk.h")]
index 9be7c563e2617e697df8f1ac1ba944842dcb1e01..4bdfc8a5082b2cf40295e1eeb4ad6620cf463978 100644 (file)
@@ -33,7 +33,7 @@ gdk_display_manager_list_displays type_arguments="unowned Display" transfer_owne
 gdk_drawable_draw_* hidden="1"
 gdk_drawable_get_size.width is_out="1"
 gdk_drawable_get_size.height is_out="1"
-gdk_draw_rgb*_image*.buf no_array_length="1"
+gdk_draw_*_image*.buf no_array_length="1"
 gdk_draw_rgb*_image*.rgb_buf no_array_length="1"
 gdk_gc_get_values.values is_out="1"
 GdkEvent is_value_type="0"