GLib.debug("copyList source=%d target=%d", (int)source.get_n_items(), (int)target.get_n_items());
var i = 0;
while (i < source.get_n_items()) {
+ GLib.debug("copyList compare %d", i);
if (i >= target.get_n_items()) {
GLib.debug("copyList append");
target.append(source.get_item(i));
i++;
continue;
}
- GLib.debug("copyList updateChildren");
+ GLib.debug("copyList same = updateChildren");
//
// they are the same (ignoring children
copyList(sel.children,tel.children);