tree-model-iter-n-children
"Walter C. Pelissero" <[email protected]> Thu, 12 Oct 2006 13:54:29 +0200
| Newsgroups | gmane.lisp.clg.devel |
|---|---|
| Message-ID | <[email protected]> |
I'd be happy if you could include the following patch.
According to the GTK documentation passing a null tree-iter to
tree-model-iter-n-children should return the number of the top-level
children in a tree model.
Index: gtktree.lisp
===================================================================
RCS file: /cvsroot/clg/clg/gtk/gtktree.lisp,v
retrieving revision 1.24
diff -c -r1.24 gtktree.lisp
*** gtktree.lisp 15 Sep 2006 07:43:00 -0000 1.24
--- gtktree.lisp 12 Oct 2006 11:47:52 -0000
***************
*** 436,442 ****
(defbinding tree-model-iter-n-children () int
(tree-model tree-model)
! (iter tree-iter))
(defbinding tree-model-iter-nth-child
(tree-model parent n &optional (iter (make-instance 'tree-iter))) boolean
--- 436,442 ----
(defbinding tree-model-iter-n-children () int
(tree-model tree-model)
! (iter (or null tree-iter)))
(defbinding tree-model-iter-nth-child
(tree-model parent n &optional (iter (make-instance 'tree-iter))) boolean
--
walter pelissero
http://www.pelissero.de
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642