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:
@ -59,6 +59,7 @@
|
||||
#include "batch.h"
|
||||
#include "errors.h"
|
||||
#include "units.h"
|
||||
#include "gimp-debug.h"
|
||||
|
||||
#include "gimp-intl.h"
|
||||
|
||||
@ -255,9 +256,7 @@ app_run (const gchar *full_prog_name,
|
||||
|
||||
g_object_unref (gimp);
|
||||
|
||||
#ifdef DEBUG_INSTANCES
|
||||
gimp_object_debug_instances ();
|
||||
#endif
|
||||
gimp_debug_instances ();
|
||||
|
||||
errors_exit ();
|
||||
gegl_exit ();
|
||||
|
Reference in New Issue
Block a user