[vala] gdk-2.0: buf argument of gdk_draw_*_image doesn't have an array length
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gdk-2.0: buf argument of gdk_draw_*_image doesn't have an array length
- Date: Wed, 5 May 2010 00:10:06 +0000 (UTC)
commit 11500497c9cf49e36fa4fee2591940ed71a1d9e2
Author: Evan Nemerson <evan coeus-group com>
Date: Tue May 4 17:08:15 2010 -0700
gdk-2.0: buf argument of gdk_draw_*_image doesn't have an array length
Fixes bug 617534.
vapi/gdk-2.0.vapi | 4 ++--
vapi/packages/gdk-2.0/gdk-2.0.metadata | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index 9662069..d5f4f16 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -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")]
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index 9be7c56..4bdfc8a 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]