[gimp] app: remove empty GimpTool::initialize() impl from GimpAlignTool



commit 0c8ff468f64e8b62afd99f03b5b79b453e7d2d0f
Author: Michael Natterer <mitch gimp org>
Date:   Tue Mar 29 14:00:10 2011 +0200

    app: remove empty GimpTool::initialize() impl from GimpAlignTool

 app/tools/gimpaligntool.c |   20 ++------------------
 1 files changed, 2 insertions(+), 18 deletions(-)
---
diff --git a/app/tools/gimpaligntool.c b/app/tools/gimpaligntool.c
index 1e2cbe2..348e564 100644
--- a/app/tools/gimpaligntool.c
+++ b/app/tools/gimpaligntool.c
@@ -57,12 +57,9 @@
 
 /*  local function prototypes  */
 
-static void     gimp_align_tool_constructed  (GObject               *object);
-static void     gimp_align_tool_dispose      (GObject               *object);
+static void   gimp_align_tool_constructed    (GObject               *object);
+static void   gimp_align_tool_dispose        (GObject               *object);
 
-static gboolean gimp_align_tool_initialize   (GimpTool              *tool,
-                                              GimpDisplay           *display,
-                                              GError               **error);
 static void   gimp_align_tool_control        (GimpTool              *tool,
                                               GimpToolAction         action,
                                               GimpDisplay           *display);
@@ -140,7 +137,6 @@ gimp_align_tool_class_init (GimpAlignToolClass *klass)
   object_class->constructed  = gimp_align_tool_constructed;
   object_class->dispose      = gimp_align_tool_dispose;
 
-  tool_class->initialize     = gimp_align_tool_initialize;
   tool_class->control        = gimp_align_tool_control;
   tool_class->button_press   = gimp_align_tool_button_press;
   tool_class->button_release = gimp_align_tool_button_release;
@@ -191,18 +187,6 @@ gimp_align_tool_dispose (GObject *object)
   G_OBJECT_CLASS (parent_class)->dispose (object);
 }
 
-static gboolean
-gimp_align_tool_initialize (GimpTool     *tool,
-                            GimpDisplay  *display,
-                            GError      **error)
-{
-  if (tool->display != display)
-    {
-    }
-
-  return TRUE;
-}
-
 static void
 gimp_align_tool_control (GimpTool       *tool,
                          GimpToolAction  action,



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