XObject.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 05:34:22 +0000 (13:34 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 05:34:22 +0000 (13:34 +0800)
XObject.js

index 4374ace..7862fe4 100644 (file)
@@ -158,9 +158,10 @@ XObject.prototype = {
         //var ty = gi.find_by_gtype(this.el.
         for (var i in this.el) {
             print(i);
-            if (typeof(i) == 'function') continue;
-            if (typeof(i) == 'object') continue;
             if ([ 'signal'].indexOf(i) > -1) continue;
+            if (typeof(this.el[i]) == 'function') continue;
+            if (typeof(this.el[i]) == 'object') continue;
+            
             print(i + ':' + this.el[i]);
         }
         //print (this.el.constructor.type);