[gimp] app: cosmetic cleanup



commit 93645e908310876bca4e88a81eb89fa2154c935e
Author: Michael Natterer <mitch gimp org>
Date:   Thu Apr 1 22:29:08 2010 +0200

    app: cosmetic cleanup

 app/tools/gimpdrawtool.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpdrawtool.c b/app/tools/gimpdrawtool.c
index db98e33..d79de5d 100644
--- a/app/tools/gimpdrawtool.c
+++ b/app/tools/gimpdrawtool.c
@@ -158,6 +158,7 @@ gimp_draw_tool_control (GimpTool       *tool,
   GIMP_TOOL_CLASS (parent_class)->control (tool, action, display);
 }
 
+#ifdef USE_TIMEOUT
 static gboolean
 gimp_draw_tool_draw_timeout (GimpDrawTool *draw_tool)
 {
@@ -167,6 +168,7 @@ gimp_draw_tool_draw_timeout (GimpDrawTool *draw_tool)
 
   return FALSE;
 }
+#endif
 
 static void
 gimp_draw_tool_draw (GimpDrawTool *draw_tool)
@@ -258,7 +260,7 @@ gimp_draw_tool_resume (GimpDrawTool *draw_tool)
                                         (GSourceFunc) gimp_draw_tool_draw_timeout,
                                         draw_tool, NULL);
 #else
-  gimp_draw_tool_draw (draw_tool);
+      gimp_draw_tool_draw (draw_tool);
 #endif
     }
   else



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