Fix for null-pointe-p vs null in gtk.tree-model
authorDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Tue, 17 Mar 2009 00:05:13 +0000 (03:05 +0300)
committerDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Tue, 17 Mar 2009 00:05:13 +0000 (03:05 +0300)
gtk/gtk.tree-model.lisp

index 788e028..6cbdb96 100644 (file)
@@ -90,7 +90,7 @@
     t))
 
 (defmethod tree-model-iter-n-children-impl ((model array-list-store) iter)
-  (if (null-pointer-p iter)
+  (if (null iter)
       (length (store-items model))
       0))