Commit 1f5bbe4d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

fixed memory profile debug action.

2005-06-27  Sven Neumann  <sven@gimp.org>

	* app/actions/debug-commands.c: fixed memory profile debug action.
parent 43bdd414
2005-06-27 Sven Neumann <sven@gimp.org>
* app/actions/debug-commands.c: fixed memory profile debug action.
2005-06-27 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c (cdisplay_lcms_configure): gracefully
......
......@@ -33,6 +33,7 @@
#include "menus/menus.h"
#include "actions.h"
#include "debug-commands.h"
......@@ -51,11 +52,13 @@ void
debug_mem_profile_cmd_callback (GtkAction *action,
gpointer data)
{
extern gboolean gimp_debug_memsize;
extern gboolean gimp_debug_memsize;
Gimp *gimp;
return_if_no_gimp (gimp, data);
gimp_debug_memsize = TRUE;
gimp_object_get_memsize (GIMP_OBJECT (data), NULL);
gimp_object_get_memsize (GIMP_OBJECT (gimp), NULL);
gimp_debug_memsize = FALSE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment