summaryrefslogtreecommitdiff
path: root/girepository/gitypelib.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-26 10:03:29 -0400
committerColin Walters <walters@verbum.org>2010-10-26 10:04:46 -0400
commite4eef4fe4a35161907ab353515ec7aa6a31c282b (patch)
treea64049675be414447d507bac959da621ea730a57 /girepository/gitypelib.c
parentb18c248d2fcb7accc96269341e87eca5cb3ad864 (diff)
downloadgobject-introspection-e4eef4fe4a35161907ab353515ec7aa6a31c282b.tar.gz
girepository: Use G_TYPE_TAG_IS_BASIC consistently
This is a preparatory patch for adding a new basic tag.
Diffstat (limited to 'girepository/gitypelib.c')
-rw-r--r--girepository/gitypelib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c
index 4f851702..4d119b73 100644
--- a/girepository/gitypelib.c
+++ b/girepository/gitypelib.c
@@ -642,7 +642,7 @@ validate_type_blob (GITypelib *typelib,
if (simple->flags.reserved == 0 &&
simple->flags.reserved2 == 0)
{
- if (simple->flags.tag >= GI_TYPE_TAG_ARRAY)
+ if (!G_TYPE_TAG_IS_BASIC(simple->flags.tag))
{
g_set_error (error,
G_TYPELIB_ERROR,