[vala/switch-to-gir] Fix InterfaceType cname to refer to Interface type_cname
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/switch-to-gir] Fix InterfaceType cname to refer to Interface type_cname
- Date: Fri, 11 Mar 2011 10:36:11 +0000 (UTC)
commit 72fb1a3ee9b750f48631f1ca113a17ef4738be58
Author: Luca Bruno <lucabru src gnome org>
Date: Fri Mar 11 11:30:30 2011 +0100
Fix InterfaceType cname to refer to Interface type_cname
vala/valainterfacetype.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valainterfacetype.vala b/vala/valainterfacetype.vala
index 96ba865..f3330a8 100644
--- a/vala/valainterfacetype.vala
+++ b/vala/valainterfacetype.vala
@@ -51,6 +51,6 @@ public class Vala.InterfaceType : ReferenceType {
}
public override string? get_cname () {
- return "%sIface*".printf (interface_symbol.get_cname ());
+ return interface_symbol.get_type_cname ();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]