mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix generator for constant/gobject/struct
2008-08-14 Johan Dahlin <johan@gnome.org> * tests/Makefile.am: * tests/constant.gir: * tests/gobject.gir: * tests/struct.gir: * tools/generate.c (write_struct_info): Fix generator for constant/gobject/struct svn path=/trunk/; revision=379
This commit is contained in:
parent
5d3fe6f2f0
commit
2f803f62e6
@ -434,7 +434,7 @@ write_struct_info (const gchar *namespace,
|
||||
g_fprintf (file, " <glib:boxed glib:name=\"%s\" glib:type-name=\"%s\" glib:get-type=\"%s\"", name, type_name, type_init);
|
||||
}
|
||||
else
|
||||
g_fprintf (file, " <struct name=\"%s\"", name);
|
||||
g_fprintf (file, " <record name=\"%s\"", name);
|
||||
|
||||
if (deprecated)
|
||||
g_fprintf (file, " deprecated=\"1\"");
|
||||
@ -458,7 +458,7 @@ write_struct_info (const gchar *namespace,
|
||||
if (g_base_info_get_type ((GIBaseInfo *)info) == GI_INFO_TYPE_BOXED)
|
||||
g_fprintf (file, " </glib:boxed>\n");
|
||||
else
|
||||
g_fprintf (file, " </struct>\n");
|
||||
g_fprintf (file, " </record>\n");
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user