Skip to content

Commit

Permalink
New app template: Use widget-children instead of the deprecated compo…
Browse files Browse the repository at this point in the history
…site-widgets.
  • Loading branch information
skypher committed Apr 22, 2010
1 parent 4a04ac5 commit 36f1e7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/new-app-templates/init-session.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
(with-html
(:strong "Happy Hacking!"))))))
Expand Down

0 comments on commit 36f1e7e

Please sign in to comment.