gimp r26720 - in trunk: . app/core
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26720 - in trunk: . app/core
- Date: Fri, 22 Aug 2008 22:47:06 +0000 (UTC)
Author: neo
Date: Fri Aug 22 22:47:06 2008
New Revision: 26720
URL: http://svn.gnome.org/viewvc/gimp?rev=26720&view=rev
Log:
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.
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 Fri Aug 22 22:47:06 2008
@@ -155,7 +155,13 @@
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]