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
This commit is contained in:
Sven Neumann 2008-05-17 19:15:49 +00:00 committed by Sven Neumann
parent 228dd93e9d
commit 48dcf22eab
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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().

View File

@ -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 */