[vala] gdk-pixbuf-2.0: metadata fix to make Gdk.PixbufError an errordomain
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gdk-pixbuf-2.0: metadata fix to make Gdk.PixbufError an errordomain
- Date: Thu, 25 Mar 2010 06:58:32 +0000 (UTC)
commit 9f07e88a1fafe92264dbed08866b0b3b88a90279
Author: Jim Nelson <jim yorba org>
Date: Wed Mar 24 23:53:10 2010 -0700
gdk-pixbuf-2.0: metadata fix to make Gdk.PixbufError an errordomain
Fixes bug 613861.
vapi/gdk-pixbuf-2.0.vapi | 18 +++++++++---------
.../gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata | 1 +
2 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index e1071f1..2f7e2d7 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -160,15 +160,6 @@ namespace Gdk {
BILEVEL,
FULL
}
- [CCode (cprefix = "GDK_PIXBUF_ERROR_", cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
- public enum PixbufError {
- CORRUPT_IMAGE,
- INSUFFICIENT_MEMORY,
- BAD_OPTION,
- UNKNOWN_TYPE,
- UNSUPPORTED_OPERATION,
- FAILED
- }
[CCode (cprefix = "GDK_PIXBUF_ROTATE_", cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
public enum PixbufRotation {
NONE,
@@ -198,6 +189,15 @@ namespace Gdk {
ENCODING_RLE,
ENCODING_MASK
}
+ [CCode (cprefix = "GDK_PIXBUF_ERROR_", cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
+ public errordomain PixbufError {
+ CORRUPT_IMAGE,
+ INSUFFICIENT_MEMORY,
+ BAD_OPTION,
+ UNKNOWN_TYPE,
+ UNSUPPORTED_OPERATION,
+ FAILED,
+ }
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
public delegate void PixbufDestroyNotify ([CCode (array_length = false)] uchar[] pixels);
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
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 264af3f..8411e94 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
@@ -21,6 +21,7 @@ gdk_pixbuf_rotate_simple transfer_ownership="1"
gdk_pixbuf_flip transfer_ownership="1"
gdk_pixbuf_loader_write.buf no_array_length="1"
GdkPixbufDestroyNotify.pixels no_array_length="1"
+GdkPixbufError errordomain="1"
GdkPixdata is_value_type="1"
GdkPixdata.pixel_data is_array="1"
gdk_pixdata_deserialize.stream is_array="1" array_length_pos="0.9"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]