From 5d1f621ad199812165a85fd9f9abf753dbf365f6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 10 Aug 2012 10:37:13 +0800 Subject: [PATCH] tools/build_gtk_tree.js --- tools/build_gtk_tree.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/build_gtk_tree.js b/tools/build_gtk_tree.js index 9218f312a..50d5037e9 100644 --- a/tools/build_gtk_tree.js +++ b/tools/build_gtk_tree.js @@ -272,7 +272,12 @@ function BuildLists () { - + function is_a(cls, instance_of) { + if (methods[cls].extendsClasses.indexOf(instance_of) > -1) { + return true; + } + return false; + } function verifyUsage(parent,child) { -- 2.39.2