]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
girparser: Add an exception for Atk.Implementor 6293d01d61dbe3741965b7d402573548cc35bf22
authorAbderrahim Kitouni <a.kitouni@gmail.com>
Fri, 30 Apr 2010 21:19:17 +0000 (22:19 +0100)
committerJürg Billeter <j@bitron.ch>
Tue, 29 Jun 2010 17:43:34 +0000 (19:43 +0200)
Atk.Implementor has a GType name of AtkImplementorIface and this is
what gobject-introspection uses.

vala/valagirparser.vala

index d3f110d298d695eef5f35fe3b75cf12875b16920..4c19d863cc0894e9bc49571658c21b03a0c03bf6 100644 (file)
@@ -491,6 +491,8 @@ public class Vala.GirParser : CodeVisitor {
                                type_name = "unichar";
                        } else if (type_name == "GLib.Data") {
                                type_name = "GLib.Datalist";
+                       } else if (type_name == "Atk.ImplementorIface") {
+                               type_name = "Atk.Implementor";
                        }
                        string[] type_components = type_name.split (".");
                        if (type_components[1] != null) {