mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 00:48:53 +02:00
Bug 557788 - Return types for constructors in generated typelib bogus
svn path=/trunk/; revision=920
This commit is contained in:
@@ -1216,7 +1216,11 @@ serialize_type (GIrModule *module,
|
|||||||
|
|
||||||
iface = find_entry_node (module, modules, node->interface, NULL);
|
iface = find_entry_node (module, modules, node->interface, NULL);
|
||||||
if (iface)
|
if (iface)
|
||||||
name = iface->name;
|
{
|
||||||
|
if (iface->type == G_IR_NODE_XREF)
|
||||||
|
g_string_append_printf (str, "%s.", ((GIrNodeXRef *)iface)->namespace);
|
||||||
|
name = iface->name;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_warning ("Interface for type reference %s not found", node->interface);
|
g_warning ("Interface for type reference %s not found", node->interface);
|
||||||
|
Reference in New Issue
Block a user