Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
/* A lot of this file is just for debugging. Uncomment to enable all the
* debugging code.
*/
/*
#define DEBUG
*/

/* Dump a binary operator.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/view.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
/*
#define DEBUG_VIEWCHILD
#define DEBUG
*/
#define DEBUG_LEAK
*/

/* Time each refresh
#define DEBUG_TIME
Expand All @@ -44,10 +44,10 @@ static GSList *view_resettable = NULL;
static GSList *all_view_widgets = NULL;
#endif /*DEBUG_LEAK*/

#ifdef DEBUG_LEAK
void
view_dump(void)
{
#ifdef DEBUG_LEAK
if (all_view_widgets) {
printf("view_dump(): %d views\n", g_slist_length(all_view_widgets));

Expand All @@ -63,8 +63,8 @@ view_dump(void)
printf("\n");
}
}
}
#endif /*DEBUG_LEAK*/
}

void
view_scannable_register(View *view)
Expand Down