// get the Gtype for the child?
var GObject = imports.gi.GObject;
var match = GObject.type_from_name(ar.join(''));
-
- print ("matching?" + ( GObject.match(ar, ct )) ? "YES" : "NO");
+ print([ar, ct]);
+ print ("matching?" + (GObject.type_is_a(ar, ct ) ? "YES" : "NO"));
return true;