Browse files

New app template: Use widget-children instead of the deprecated compo…

  • Loading branch information...
1 parent 4a04ac5 commit 36f1e7e125c64e1d711ad9ecadbf1629e0c50869 @skypher committed Apr 22, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/new-app-templates/init-session.lisp
@@ -2,8 +2,8 @@
(in-package :{APPNAME})
;; Define callback function to initialize new sessions
-(defun init-user-session (comp)
- (setf (composite-widgets comp)
+(defun init-user-session (root)
+ (setf (widget-children root)
(list (lambda (&rest args)
(:strong "Happy Hacking!"))))))

0 comments on commit 36f1e7e

Please sign in to comment.