app: move the instance debug facility to the new file app/gimp-debug.c

Build it unconditionally but enable it via GIMP_DEBUG=instances
This commit is contained in:
Michael Natterer
2010-06-24 19:11:56 +02:00
parent c448cc7d25
commit b2b1cb135b
6 changed files with 17 additions and 88 deletions

View File

@ -70,11 +70,5 @@ gint gimp_object_name_collate (GimpObject *object1,
gint64 gimp_object_get_memsize (GimpObject *object,
gint64 *gui_size);
/* #define DEBUG_INSTANCES 1 */
#ifdef DEBUG_INSTANCES
void gimp_object_debug_instances (void);
#endif
#endif /* __GIMP_OBJECT_H__ */