Commit 41fef08a authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

only create and use a timer if GIMP_UNSTABLE is defined.

2008-08-23  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.c (gimp_image_map_init): only create and
	use a timer if GIMP_UNSTABLE is defined.


svn path=/trunk/; revision=26720
parent ec12326c
2008-08-23 Sven Neumann <sven@gimp.org>
* app/core/gimpimagemap.c (gimp_image_map_init): only create and
use a timer if GIMP_UNSTABLE is defined.
2008-08-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpnavigationview.c
......
......@@ -155,7 +155,13 @@ gimp_image_map_init (GimpImageMap *image_map)
image_map->apply_data = NULL;
image_map->PRI = NULL;
image_map->idle_id = 0;
#ifdef GIMP_UNSTABLE
image_map->timer = g_timer_new ();
#else
image_map->timer = NULL;
#endif
image_map->pixel_count = 0;
if (image_map->timer)
......
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