[gimp/soc-2013-combined-selection-tool: 208/230] app:stable gimpselectbyshape



commit 6bbc2a2d35e54cf17d692ebe869f9fd7af6043d0
Author: Ajay Ramanathan <ajay 010293 gmail com>
Date:   Fri Aug 23 10:41:06 2013 +0530

    app:stable gimpselectbyshape

 app/tools/gimpselectbyshapetool.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/app/tools/gimpselectbyshapetool.c b/app/tools/gimpselectbyshapetool.c
index 582d724..d8c1b60 100644
--- a/app/tools/gimpselectbyshapetool.c
+++ b/app/tools/gimpselectbyshapetool.c
@@ -601,12 +601,12 @@ gimp_select_by_shape_tool_real_select (GimpSelectByShapeTool *rect_sel_tool,
 {
   GimpTool                   *tool    = GIMP_TOOL (rect_sel_tool);
   GimpSelectionOptions       *options = GIMP_SELECTION_TOOL_GET_OPTIONS (tool);
-  GimpRectangleOptions       *shape_select_options;
+  GimpRectangleSelectOptions *shape_select_options;
   GimpChannel                *channel;
   GimpImage                  *image;
 
-  shape_select_options = GIMP_SELECT_BY_SHAPE_TOOL_GET_OPTIONS (tool);
-
+  shape_select_options = GIMP_SELECT_BY_SHAPE_TOOL_GET_OPTIONS (tool); //Error
+  image = gimp_display_get_image (tool->display);
   channel = gimp_image_get_mask (gimp_display_get_image (tool->display));           
   
   switch(shape_select_options->shape_type)
@@ -989,7 +989,7 @@ gimp_select_by_shape_tool_rectangle_change_complete (GimpRectangleTool *rectangl
 }
 
 static void
-gimp_select_by_shape_tool_round_corners_notify (GimpRectangleOptions *options,
+gimp_select_by_shape_tool_round_corners_notify (GimpRectangleSelectOptions *options,
                                                  GParamSpec                 *pspec,
                                                  GimpSelectByShapeTool    *rect_sel_tool)
 {
@@ -1004,7 +1004,7 @@ gimp_select_by_shape_tool_round_corners_notify (GimpRectangleOptions *options,
   priv->round_corners = options->round_corners;
   priv->corner_radius = options->corner_radius;
 
-  gimp_select__by_shape_tool_rectangle_change_complete (rect_tool);
+  gimp_select_by_shape_tool_rectangle_change_complete (rect_tool);
 
   gimp_draw_tool_resume (draw_tool);
 }  


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