]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix C code name for types nested in interfaces
authorJürg Billeter <j@bitron.ch>
Mon, 21 Sep 2009 18:24:29 +0000 (20:24 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 21 Sep 2009 18:24:29 +0000 (20:24 +0200)
vala/valainterface.vala

index 7d831ed6d85ff49c6303559a0569feff6487f821..e9ff11893785978677263486361f3d8606fd2463 100644 (file)
@@ -277,6 +277,10 @@ public class Vala.Interface : ObjectTypeSymbol {
                scope.add (d.name, d);
        }
 
+       public override string get_cprefix () {
+               return get_cname ();
+       }
+
        public override string get_cname (bool const_type = false) {
                if (cname == null) {
                        var attr = get_attribute ("CCode");