debug stuff for add_row()

This commit is contained in:
mcafee%netscape.com 1998-09-09 18:10:27 +00:00
parent 4f05895704
commit 85eca6e2bf

View File

@ -38,7 +38,7 @@
extern "C" RDF_NCVocab gNavCenter; extern "C" RDF_NCVocab gNavCenter;
#ifdef DEBUG_slamm #if defined(DEBUG_slamm)||defined(DEBUG_mcafee)
#define D(x) x #define D(x) x
#else #else
#define D(x) #define D(x)
@ -650,6 +650,18 @@ XFE_RDFTreeView::add_row
node,row, name, depth);)*/ node,row, name, depth);)*/
Pixmap pixmap, mask; Pixmap pixmap, mask;
#if 0
// Using this for debugging. -mcafee
static PRBool firstRow = PR_TRUE;
if(firstRow) {
printf("First row\n");
firstRow = PR_FALSE;
} else {
printf("Not first row\n");
}
#endif
//pixmap = XmUNSPECIFIED_PIXMAP; //pixmap = XmUNSPECIFIED_PIXMAP;
//pixmask = XmUNSPECIFIED_PIXMAP; //pixmask = XmUNSPECIFIED_PIXMAP;
if (expands && isExpanded) { if (expands && isExpanded) {