diff options
Diffstat (limited to 'valadoc/doclets/gtkdoc/utils.vala')
-rw-r--r-- | valadoc/doclets/gtkdoc/utils.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/valadoc/doclets/gtkdoc/utils.vala b/valadoc/doclets/gtkdoc/utils.vala index 21ddea664..33595bc2e 100644 --- a/valadoc/doclets/gtkdoc/utils.vala +++ b/valadoc/doclets/gtkdoc/utils.vala @@ -37,8 +37,8 @@ namespace Gtkdoc { public string? get_cname (Api.Item item) { if (item is Api.Method) { return ((Api.Method)item).get_cname (); - } else if (item is Api.FormalParameter) { - return ((Api.FormalParameter)item).name; + } else if (item is Api.Parameter) { + return ((Api.Parameter)item).name; } else if (item is Api.Constant) { return ((Api.Constant)item).get_cname (); } else if (item is Api.Property) { @@ -132,8 +132,8 @@ namespace Gtkdoc { } return """<link linkend="%s%s"><function>%s()</function></link>""" .printf (to_docbook_id (parent), to_docbook_id (name), name); - } else if (item is Api.FormalParameter) { - return "<parameter>%s</parameter>".printf (((Api.FormalParameter)item).name); + } else if (item is Api.Parameter) { + return "<parameter>%s</parameter>".printf (((Api.Parameter)item).name); } else if (item is Api.Constant) { var cname = ((Api.Constant)item).get_cname (); return """<link linkend="%s:CAPS"><literal>%s</literal></link>""" |