Palete/Gtk.vala
authorAlan Knowles <alan@akbkhome.com>
Thu, 11 Sep 2014 15:36:40 +0000 (23:36 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 11 Sep 2014 15:36:40 +0000 (23:36 +0800)
Palete/Gtk.vala

index 546245e..bf9e1b4 100644 (file)
@@ -123,6 +123,7 @@ namespace Palete {
                        var cls = Gir.factoryFqn(ename);
                         
                        if (cls == null || cls.nodetype != "Class") {
+                               print("getInheritsFor:could not find cls: %s\n", ename);
                                return ret;
                        }
                        return cls.inheritsToStringArray();
@@ -351,6 +352,7 @@ namespace Palete {
                        
                        string inherits =  string.joinv(" ", 
                                       this.getInheritsFor (node.fqn())) + " ";
+                       inherits += node.fqn() + " ";
                        print ("fillPack:Inherits : %s\n", inherits);
                        // parent.fqn() method ( node.fqn()
                        var methods = this.getPropertiesFor (parent.fqn(), "methods");