Commit 48dcf22e authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

fixed issues with the profiling code.

2008-05-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.c: fixed issues with the profiling code.


svn path=/trunk/; revision=25691
parent 228dd93e
2008-05-17 Sven Neumann <sven@gimp.org>
* app/core/gimpimagemap.c: fixed issues with the profiling code.
2008-05-17 Michael Natterer <mitch@gimp.org>
* app/tools/gimpimagemaptool.[ch]: add gimp_image_map_tool_edit_as().
......
......@@ -82,7 +82,7 @@ struct _GimpImageMap
guint idle_id;
GTimer *timer;
gulong pixel_count;
guint64 pixel_count;
};
......@@ -571,7 +571,8 @@ gimp_image_map_apply (GimpImageMap *image_map,
if (image_map->timer)
{
image_map->pixel_count = 0;
g_timer_reset (image_map->timer);
g_timer_start (image_map->timer);
g_timer_stop (image_map->timer);
}
/* Start the intermittant work procedure */
......
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