chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c49be93
)
Make use of INITIAL-ADD
author
espen
<espen>
Fri, 17 Dec 2004 00:13:33 +0000
(
00:13
+0000)
committer
espen
<espen>
Fri, 17 Dec 2004 00:13:33 +0000
(
00:13
+0000)
gtk/gtkaction.lisp
patch
|
blob
|
blame
|
history
diff --git
a/gtk/gtkaction.lisp
b/gtk/gtkaction.lisp
index 428717baf87e9c1267b3ac9aec266502cc001ca0..5282dfd36af64c8bfbc3082e7da82a5e022e6378 100644
(file)
--- a/
gtk/gtkaction.lisp
+++ b/
gtk/gtkaction.lisp
@@
-15,7
+15,7
@@
;; License along with this library; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
;; License along with this library; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-;; $Id: gtkaction.lisp,v 1.
1 2004-12-04 18:03:21
espen Exp $
+;; $Id: gtkaction.lisp,v 1.
2 2004-12-17 00:13:33
espen Exp $
(in-package "GTK")
(in-package "GTK")
@@
-44,15
+44,10
@@
(defbinding action-activate () nil
(defmethod initialize-instance ((action-group action-group) &rest initargs
&key action actions)
(declare (ignore action actions))
(defmethod initialize-instance ((action-group action-group) &rest initargs
&key action actions)
(declare (ignore action actions))
- (call-next-method)
- (flet ((add-action (action)
- (action-group-add-action action-group action)))
- (loop
- as (initarg value . rest) = initargs then rest
- do (case initarg
- (:action (add-action value))
- (:actions (mapc #'add-action value)))
- while rest)))
+ (prog1
+ (call-next-method)
+ (initial-add action-group #'action-group-add-action
+ initargs :action :actions)))
(defbinding action-group-get-action () action
(action-group action-group)
(defbinding action-group-get-action () action
(action-group action-group)