[gimp] app: Make scale timer output depend on GIMP_UNSTABLE



commit 71541db52dc48958d68e481aa00bf4138d00ed17
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Fri Apr 8 13:37:32 2011 +0200

    app: Make scale timer output depend on GIMP_UNSTABLE

 app/core/gimpdrawable.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index a4249e5..a65d697 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -455,7 +455,9 @@ gimp_drawable_scale (GimpItem              *item,
   new_tiles = tile_manager_new (new_width, new_height,
                                 gimp_drawable_bytes (drawable));
 
+#ifdef GIMP_UNSTABLE
   GIMP_TIMER_START ();
+#endif
 
   if (gimp_use_gegl (gimp_item_get_image (item)->gimp) &&
       ! gimp_drawable_is_indexed (drawable)            &&
@@ -508,7 +510,9 @@ gimp_drawable_scale (GimpItem              *item,
                     progress);
     }
 
+#ifdef GIMP_UNSTABLE
   GIMP_TIMER_END ("scaling");
+#endif
 
   gimp_drawable_set_tiles_full (drawable, gimp_item_is_attached (item), NULL,
                                 new_tiles, gimp_drawable_type (drawable),



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