Introspect/Constant.js
[gnome.introspection-doc-generator] / Introspect / Class.js
index 8ded94a..90348ec 100644 (file)
@@ -56,7 +56,9 @@ Class = XObject.define(
                 this.extendsClasses.push(p);
             },this);
             
-            
+            if (this.parent) {
+                this.parent.addChildClass(this.alias);
+            }
             
             
         },
@@ -66,7 +68,7 @@ Class = XObject.define(
             if (this.parent) {
                 this.parent.addChildClass(n);
             }
-        }
+        },
         
         
         loadImplements : function()