From 90f1758145e9bb220cad0e2ac169299e52bf1329 Mon Sep 17 00:00:00 2001
From: edgrif <edgrif>
Date: Tue, 7 Nov 2006 12:03:33 +0000
Subject: [PATCH] add better assert.

---
 src/zmapWindow/zmapWindowItem.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/zmapWindow/zmapWindowItem.c b/src/zmapWindow/zmapWindowItem.c
index df3c16759..73ba3dbfd 100755
--- a/src/zmapWindow/zmapWindowItem.c
+++ b/src/zmapWindow/zmapWindowItem.c
@@ -26,9 +26,9 @@
  *
  * Exported functions: See zmapWindow_P.h
  * HISTORY:
- * Last edited: Oct 24 14:26 2006 (rds)
+ * Last edited: Nov  7 10:48 2006 (edgrif)
  * Created: Thu Sep  8 10:37:24 2005 (edgrif)
- * CVS info:   $Id: zmapWindowItem.c,v 1.47 2006-10-24 13:27:28 rds Exp $
+ * CVS info:   $Id: zmapWindowItem.c,v 1.48 2006-11-07 12:03:33 edgrif Exp $
  *-------------------------------------------------------------------
  */
 
@@ -1526,7 +1526,7 @@ gboolean zmapWindowItemIsShown(FooCanvasItem *item)
 {
   gboolean visible = FALSE;
   
-  zMapAssert(item != NULL);
+  zMapAssert(FOO_IS_CANVAS_ITEM(item)) ;
 
   g_object_get(G_OBJECT(item), 
                "visible", &visible,
-- 
GitLab