mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 03:02:10 +01:00
Bug 557788 - Return types for constructors in generated typelib bogus
svn path=/trunk/; revision=920
This commit is contained in:
parent
3b0bf76d21
commit
02020aeb20
@ -1216,7 +1216,11 @@ serialize_type (GIrModule *module,
|
||||
|
||||
iface = find_entry_node (module, modules, node->interface, NULL);
|
||||
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
|
||||
{
|
||||
g_warning ("Interface for type reference %s not found", node->interface);
|
||||
|
Loading…
x
Reference in New Issue
Block a user