mirror of https://github.com/GNOME/gimp.git
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:
parent
228dd93e9d
commit
48dcf22eab
|
@ -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().
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue