diff options
author | Evan Nemerson <evan@coeus-group.com> | 2012-08-12 20:02:37 -0700 |
---|---|---|
committer | Evan Nemerson <evan@coeus-group.com> | 2012-08-12 20:02:37 -0700 |
commit | 28ddcc01c794429debff9b632b64da246cd8d027 (patch) | |
tree | c243b5940c6671e5d9497a4c64cde61d9df35873 /vapi/gdk-pixbuf-2.0.vapi | |
parent | f5aec6712781ed272b7fbaa8c4404555e6f254ff (diff) | |
download | vala-28ddcc01c794429debff9b632b64da246cd8d027.tar.gz |
girparser: set CCode type_id for enumerations
Diffstat (limited to 'vapi/gdk-pixbuf-2.0.vapi')
-rw-r--r-- | vapi/gdk-pixbuf-2.0.vapi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index a9180bbaa..f740764aa 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -174,30 +174,30 @@ namespace Gdk { public uint8[] serialize (); public GLib.StringBuilder to_csource (string name, Gdk.PixdataDumpType dump_type); } - [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_COLORSPACE_")] + [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_COLORSPACE_", type_id = "gdk_colorspace_get_type ()")] public enum Colorspace { RGB } - [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_INTERP_")] + [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_INTERP_", type_id = "gdk_interp_type_get_type ()")] public enum InterpType { NEAREST, TILES, BILINEAR, HYPER } - [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_ALPHA_")] + [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_ALPHA_", type_id = "gdk_pixbuf_alpha_mode_get_type ()")] public enum PixbufAlphaMode { BILEVEL, FULL } - [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_ROTATE_")] + [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h", cprefix = "GDK_PIXBUF_ROTATE_", type_id = "gdk_pixbuf_rotation_get_type ()")] public enum PixbufRotation { NONE, COUNTERCLOCKWISE, UPSIDEDOWN, CLOCKWISE } - [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", cprefix = "GDK_PIXDATA_DUMP_")] + [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", cprefix = "GDK_PIXDATA_DUMP_", has_type_id = false)] [Flags] public enum PixdataDumpType { PIXDATA_STREAM, @@ -209,7 +209,7 @@ namespace Gdk { CONST, RLE_DECODER } - [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", cprefix = "GDK_PIXDATA_")] + [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", cprefix = "GDK_PIXDATA_", has_type_id = false)] [Flags] public enum PixdataType { COLOR_TYPE_RGB, |