From 450476b1a7710e0c6adcf96d3250ef9e526edfef Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 16 Sep 2008 19:44:30 +0000 Subject: [PATCH] Don't add spurious * if type is pointer; the is_pointer flag is enough svn path=/trunk/; revision=611 --- girnode.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/girnode.c b/girnode.c index 2c557b5c7..47d40e1aa 100644 --- a/girnode.c +++ b/girnode.c @@ -1086,8 +1086,7 @@ serialize_type (GIrModule *module, if (node->tag < GI_TYPE_TAG_ARRAY) { - g_string_append_printf (str, "%s%s", - basic[node->tag], node->is_pointer ? "*" : ""); + g_string_append_printf (str, "%s", basic[node->tag]); } else if (node->tag == GI_TYPE_TAG_ARRAY) { @@ -1117,7 +1116,7 @@ serialize_type (GIrModule *module, name = node->interface; } - g_string_append_printf (str, "%s%s", name, node->is_pointer ? "*" : ""); + g_string_append_printf (str, "%s", name); } else if (node->tag == GI_TYPE_TAG_GLIST) {