[vala] Fix InterfaceType cname to refer to Interface type_cname



commit 338c14b806f6a54d1c644481ae48d482acccce78
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..b767f14 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 "%s*".printf (interface_symbol.get_type_cname ());
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]