Commit 4df56e4d authored by Christian Hergert's avatar Christian Hergert

fix struct rendering

parent 8f26e4d9
......@@ -182,7 +182,7 @@ girst_generator_generate_namespace (GirstGenerator *self,
{ "functions.rst.tmpl", "functions.rst", NULL, NULL, NULL, GIRST_TYPE_FUNCTION },
{ "namespace.rst.tmpl", "index.rst", NULL, NULL, NULL, G_TYPE_INVALID },
{ "interfaces.rst.tmpl", "interfaces.rst", "interfaces", "object.rst.tmpl", "object", GIRST_TYPE_INTERFACE },
{ "records.rst.tmpl", "records.rst", "structs", "object.rst.tmpl", "object", GIRST_TYPE_RECORD },
{ "records.rst.tmpl", "structs.rst", "structs", "object.rst.tmpl", "object", GIRST_TYPE_RECORD },
{ "boxes.rst.tmpl", "boxes.rst", "boxes", "object.rst.tmpl", "object", GIRST_TYPE_GLIB_BOXED },
{ "unions.rst.tmpl", "unions.rst", "unions", "object.rst.tmpl", "object", GIRST_TYPE_UNION },
};
......
......@@ -10,7 +10,7 @@ Structs
{{for child in namespace.get_children_typed(Girst.Record)}}
{{if !child.glib_is_gtype_struct_for}}
records/{{child.c_type}}
structs/{{child.c_type}}
{{end}}
{{end}}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment