(defcallback gtk-tree-model-filter-visible-func-callback :boolean
((tree-model g-object) (iter (g-boxed-foreign tree-iter)) (data :pointer))
(let ((fn (get-stable-pointer-value data)))
- (funcall fn tree-model iter)))
+ (restart-case
+ (funcall fn tree-model iter)
+ (return-true () t)
+ (return-false () nil))))
(defcfun gtk-tree-model-filter-set-visible-func :void
- (filter g-object)
+ (filter (g-object tree-model-filter))
(func :pointer)
(data :pointer)
(destroy-notify :pointer))
|#
(defcfun gtk-tree-model-filter-convert-iter-to-child-iter :void
- (filter g-object)
+ (filter (g-object tree-model-filter))
(child-iter (g-boxed-foreign tree-iter))
(filter-iter (g-boxed-foreign tree-iter)))
;; extras
(defcfun gtk-tree-model-filter-refilter :void
- (filter g-object))
+ (filter (g-object gtk-tree-model-filter)))
(defun tree-model-filter-refilter (filter)
(gtk-tree-model-filter-refilter filter))
(export 'tree-model-filter-refilter)
(defcfun gtk-tree-model-filter-clear-cache :void
- (filter g-object))
+ (filter (g-object gtk-tree-model-filter)))
(defun tree-model-filter-clear-cache (filter)
(gtk-tree-model-filter-clear-cache filter))
(export 'tree-model-filter-clear-cache)
-