[vala/switch-to-gir: 50/51] Fix InterfaceType cname to refer to Interface type_cname



commit e5d16bdbe4133fe9609174d8ec7d961254c55ea8
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]