mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Fix up g-ir-generate for new include= syntax
svn path=/trunk/; revision=726
This commit is contained in:
parent
deba627f8f
commit
c874b58562
@ -1168,9 +1168,11 @@ write_repository (const char *namespace,
|
||||
{
|
||||
for (i = 0; dependencies[i]; i++)
|
||||
{
|
||||
char **parts = g_strsplit (dependencies[i], "-", 2);
|
||||
xml_start_element (xml, "include");
|
||||
xml_printf (xml, " name=\"%s\"", dependencies[i]);
|
||||
xml_printf (xml, " name=\"%s\" version=\"%s\"", parts[0], parts[1]);
|
||||
xml_end_element (xml, "include");
|
||||
g_strfreev (parts);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user