From 53fe01f9c380e3ec557b464d663bb98c302b5793 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 10 Aug 2012 10:35:50 +0800 Subject: [PATCH] tools/build_gtk_tree.js --- tools/build_gtk_tree.js | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/tools/build_gtk_tree.js b/tools/build_gtk_tree.js index 959b610ca..9218f312a 100644 --- a/tools/build_gtk_tree.js +++ b/tools/build_gtk_tree.js @@ -276,8 +276,19 @@ function BuildLists () { function verifyUsage(parent,child) { - - + // find all the methods that child can be added to parent. + var methods = methods[parent].can_contain_using; + for(var i =0;i