[gimp/soc-2013-combined-selection-tool: 201/230] app: Selectbyshape:tool_draw Commented out some code



commit fb594d49c15b3894630360f28a32674f7bdebe9f
Author: Ajay Ramanathan <ajay 010293 gmail com>
Date:   Mon Jul 15 08:45:04 2013 +0530

    app: Selectbyshape:tool_draw Commented out some code

 app/tools/gimpselectbyshapetool.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimpselectbyshapetool.c b/app/tools/gimpselectbyshapetool.c
index 129b9bf..5d7bba8 100644
--- a/app/tools/gimpselectbyshapetool.c
+++ b/app/tools/gimpselectbyshapetool.c
@@ -95,7 +95,9 @@ gimp_select_by_shape_tool_init (GimpSelectByShapeTool *select_by_shape)
 static void
 gimp_select_by_shape_tool_draw (GimpDrawTool *draw_tool)
 {
-  GimpSelectByShapeTool        *rect_sel_tool;
+  GimpCanvasGroup                *stroke_group = NULL;
+
+  /*GimpSelectByShapeTool        *rect_sel_tool;
   GimpSelectByShape            *priv;
   GimpCanvasGroup                *stroke_group = NULL;
 
@@ -185,11 +187,13 @@ gimp_select_by_shape_tool_draw (GimpDrawTool *draw_tool)
       gimp_rectangle_tool_draw (draw_tool, stroke_group);
       break;
      }
-  }  
+  }*/  
+  gimp_rectangle_tool_draw (draw_tool, stroke_group);
 }
 
 
 
+
 static void
 gimp_select_by_shape_tool_select (GimpRectangleSelectTool *rect_tool,
                                  GimpChannelOps           operation,


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