gimp r25691 - in trunk: . app/core



Author: neo
Date: Sat May 17 19:15:49 2008
New Revision: 25691
URL: http://svn.gnome.org/viewvc/gimp?rev=25691&view=rev

Log:
2008-05-17  Sven Neumann  <sven gimp org>

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



Modified:
   trunk/ChangeLog
   trunk/app/core/gimpimagemap.c

Modified: trunk/app/core/gimpimagemap.c
==============================================================================
--- trunk/app/core/gimpimagemap.c	(original)
+++ trunk/app/core/gimpimagemap.c	Sat May 17 19:15:49 2008
@@ -82,7 +82,7 @@
   guint                  idle_id;
 
   GTimer                *timer;
-  gulong                 pixel_count;
+  guint64                pixel_count;
 };
 
 
@@ -571,7 +571,8 @@
   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  */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]