mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-06 11:00:57 +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)
|
if (node->tag < GI_TYPE_TAG_ARRAY)
|
||||||
{
|
{
|
||||||
g_string_append_printf (str, "%s%s",
|
g_string_append_printf (str, "%s", basic[node->tag]);
|
||||||
basic[node->tag], node->is_pointer ? "*" : "");
|
|
||||||
}
|
}
|
||||||
else if (node->tag == GI_TYPE_TAG_ARRAY)
|
else if (node->tag == GI_TYPE_TAG_ARRAY)
|
||||||
{
|
{
|
||||||
@ -1117,7 +1116,7 @@ serialize_type (GIrModule *module,
|
|||||||
name = node->interface;
|
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)
|
else if (node->tag == GI_TYPE_TAG_GLIST)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user