]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Add mandatory xmlns attributes
authorDidier 'Ptitjes <ptitjes@free.fr>
Fri, 20 Mar 2009 13:00:34 +0000 (14:00 +0100)
committerJürg Billeter <j@bitron.ch>
Thu, 26 Mar 2009 08:04:39 +0000 (09:04 +0100)
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
gobject/valagirwriter.vala

index 06d70d0c7273ea8c8c860830bfb0ea83eb448e1f..ad7582cd2443047ed915933b41408034f20d4ec8 100644 (file)
@@ -53,7 +53,11 @@ public class Vala.GIRWriter : CodeVisitor {
 
                stream.printf ("<?xml version=\"1.0\"?>\n");
 
-               stream.printf ("<repository version=\"1.0\">\n");
+               stream.printf ("<repository version=\"1.0\"");
+               stream.printf (" xmlns=\"http://www.gtk.org/introspection/core/1.0\"");
+               stream.printf (" xmlns:c=\"http://www.gtk.org/introspection/c/1.0\"");
+               stream.printf (" xmlns:glib=\"http://www.gtk.org/introspection/glib/1.0\"");
+               stream.printf (">\n");
                indent++;
 
                context.accept (this);