[gimp] app: remove empty GimpTool::control() implementation



commit 50efb962221aa0f14352956d9bf7685e68f4963f
Author: Michael Natterer <mitch gimp org>
Date:   Thu Sep 30 00:40:42 2010 +0200

    app: remove empty GimpTool::control() implementation

 app/tools/gimpmovetool.c |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/app/tools/gimpmovetool.c b/app/tools/gimpmovetool.c
index 19e4534..037f822 100644
--- a/app/tools/gimpmovetool.c
+++ b/app/tools/gimpmovetool.c
@@ -67,9 +67,6 @@
 
 /*  local function prototypes  */
 
-static void   gimp_move_tool_control        (GimpTool              *tool,
-                                             GimpToolAction         action,
-                                             GimpDisplay           *display);
 static void   gimp_move_tool_button_press   (GimpTool              *tool,
                                              const GimpCoords      *coords,
                                              guint32                time,
@@ -140,7 +137,6 @@ gimp_move_tool_class_init (GimpMoveToolClass *klass)
   GimpToolClass     *tool_class      = GIMP_TOOL_CLASS (klass);
   GimpDrawToolClass *draw_tool_class = GIMP_DRAW_TOOL_CLASS (klass);
 
-  tool_class->control        = gimp_move_tool_control;
   tool_class->button_press   = gimp_move_tool_button_press;
   tool_class->button_release = gimp_move_tool_button_release;
   tool_class->motion         = gimp_move_tool_motion;
@@ -176,22 +172,6 @@ gimp_move_tool_init (GimpMoveTool *move_tool)
 }
 
 static void
-gimp_move_tool_control (GimpTool       *tool,
-                        GimpToolAction  action,
-                        GimpDisplay    *display)
-{
-  switch (action)
-    {
-    case GIMP_TOOL_ACTION_PAUSE:
-    case GIMP_TOOL_ACTION_RESUME:
-    case GIMP_TOOL_ACTION_HALT:
-      break;
-    }
-
-  GIMP_TOOL_CLASS (parent_class)->control (tool, action, display);
-}
-
-static void
 gimp_move_tool_button_press (GimpTool            *tool,
                              const GimpCoords    *coords,
                              guint32              time,



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