From 933fcbc88cd61d47eeea86ad7df8f3dcadefdacf Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 6 Jul 2009 11:17:40 -0400 Subject: [PATCH] Sync the basic types array in girnode.c:serialize_type with GITypeTag Fixes a crash compiling GIRepository-2.0.gir. http://bugzilla.gnome.org/show_bug.cgi?id=587823 --- girnode.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/girnode.c b/girnode.c index bd9be6824..22e821e01 100644 --- a/girnode.c +++ b/girnode.c @@ -1229,6 +1229,8 @@ serialize_type (GIrModule *module, "uint32", "int64", "uint64", + "short", + "ushort", "int", "uint", "long", @@ -1237,11 +1239,10 @@ serialize_type (GIrModule *module, "size", "float", "double", + "time_t", + "GType", "utf8", "filename", - "string", - "sequence", - "any" }; if (node->tag < GI_TYPE_TAG_ARRAY)