]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.gadgets: inline gadget-child and nth-gadget.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 17 Sep 2012 19:37:18 +0000 (12:37 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 17 Sep 2012 21:12:25 +0000 (14:12 -0700)
basis/ui/gadgets/gadgets.factor

index 003ae083e84ada52777c6f3f143001390140540c..1695078bb9b88d253e359738d1dbc78d65b9044b 100644 (file)
@@ -32,9 +32,9 @@ M: gadget hashcode* nip identity-hashcode ;
 
 M: gadget model-changed 2drop ;
 
-: gadget-child ( gadget -- child ) children>> first ;
+: gadget-child ( gadget -- child ) children>> first ; inline
 
-: nth-gadget ( n gadget -- child ) children>> nth ;
+: nth-gadget ( n gadget -- child ) children>> nth ; inline
 
 : <gadget> ( -- gadget )
     gadget new ;