]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapigen: Interfaces should be marked as external by default.
authorAlberto Ruiz <aruiz@codethink.co.uk>
Tue, 18 Aug 2009 13:17:32 +0000 (14:17 +0100)
committerAlberto Ruiz <aruiz@codethink.co.uk>
Tue, 18 Aug 2009 13:17:32 +0000 (14:17 +0100)
vapigen/valagirparser.vala

index ea4388fdf2cab8f3ad2366b738f41686213d46db..3a60e464316b7a629e8c00854ddf13b7a10cd422 100644 (file)
@@ -666,6 +666,7 @@ public class Vala.GirParser : CodeVisitor {
                start_element ("interface");
                var iface = new Interface (reader.get_attribute ("name"), get_current_src ());
                iface.access = SymbolAccessibility.PUBLIC;
+               iface.external = true;
 
                string cname = reader.get_attribute ("c:type");
                if (cname != null) {