summaryrefslogtreecommitdiff
path: root/libvaladoc/api
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-11-14 15:30:25 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2018-11-25 13:38:45 +0100
commit0c151d72e0f7d9c34a9ea1007125180468f89977 (patch)
tree99f388e4e993bf03561b93dd9d1027c301ea81c4 /libvaladoc/api
parent85b857c80f3089ab2dfd0be8ea0a8fa0751ae71d (diff)
downloadvala-0c151d72e0f7d9c34a9ea1007125180468f89977.tar.gz
libvaladoc: Clean up Api.Interface constructor
Diffstat (limited to 'libvaladoc/api')
-rw-r--r--libvaladoc/api/interface.vala12
1 files changed, 6 insertions, 6 deletions
diff --git a/libvaladoc/api/interface.vala b/libvaladoc/api/interface.vala
index e909d1365..8c6a9ab77 100644
--- a/libvaladoc/api/interface.vala
+++ b/libvaladoc/api/interface.vala
@@ -33,16 +33,16 @@ public class Valadoc.Api.Interface : TypeSymbol {
private string? type_id;
public Interface (Node parent, SourceFile file, string name, Vala.SymbolAccessibility accessibility,
- SourceComment? comment, string? cname, string? type_macro_name, string? is_type_macro_name,
- string? type_cast_macro_name, string? type_function_name, string interface_macro_name,
- string? dbus_name, Vala.Interface data)
+ SourceComment? comment, string? type_macro_name, string? is_type_macro_name,
+ string? type_cast_macro_name, string? type_function_name,
+ Vala.Interface data)
{
base (parent, file, name, accessibility, comment, type_macro_name, is_type_macro_name,
type_cast_macro_name, type_function_name, false, data);
- this.interface_macro_name = interface_macro_name;
- this.dbus_name = dbus_name;
- this.cname = cname;
+ this.interface_macro_name = Vala.get_ccode_interface_get_function (data);
+ this.dbus_name = Vala.GDBusModule.get_dbus_name (data);
+ this.cname = Vala.get_ccode_name (data);
this.type_id = Vala.get_ccode_type_id (data);
}