mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-29 15:26:18 +01:00
Don't add spurious * if type is pointer; the is_pointer flag is enough
svn path=/trunk/; revision=611
This commit is contained in:
parent
0ab7337756
commit
450476b1a7
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user