diff options
author | Colin Walters <walters@verbum.org> | 2010-10-26 11:12:26 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-11-12 16:00:10 -0500 |
commit | c8940a11562fd7b888595c6298e39836192fa3d7 (patch) | |
tree | 573d0afbceecc8bd0360e79b11666095470bd8d8 /girepository/gitypeinfo.h | |
parent | e876ad4fe073de44fc809400b166d6c4726f08f4 (diff) | |
download | gobject-introspection-c8940a11562fd7b888595c6298e39836192fa3d7.tar.gz |
Add support for gunichar in typelib
Some API such as gtk_text_iter_get_char returns an individual
"gunichar"; we should support this.
https://bugzilla.gnome.org/show_bug.cgi?id=633197
Diffstat (limited to 'girepository/gitypeinfo.h')
-rw-r--r-- | girepository/gitypeinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/gitypeinfo.h b/girepository/gitypeinfo.h index 39890a7d..5c4fc835 100644 --- a/girepository/gitypeinfo.h +++ b/girepository/gitypeinfo.h @@ -33,7 +33,7 @@ G_BEGIN_DECLS #define GI_IS_TYPE_INFO(info) \ (g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_TYPE) -#define G_TYPE_TAG_IS_BASIC(tag) (tag < GI_TYPE_TAG_ARRAY) +#define G_TYPE_TAG_IS_BASIC(tag) (tag < GI_TYPE_TAG_ARRAY || tag == GI_TYPE_TAG_UNICHAR) const gchar* g_type_tag_to_string (GITypeTag type); const gchar* g_info_type_to_string (GIInfoType type); |