[gimp] warp-tool: remove unneeded options_notify
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] warp-tool: remove unneeded options_notify
- Date: Tue, 21 May 2013 21:46:59 +0000 (UTC)
commit 5b5e9e30ae903e2eef052c93410865d8edd4ac65
Author: Michael Muré <batolettre gmail com>
Date: Fri Jul 1 18:06:19 2011 +0200
warp-tool: remove unneeded options_notify
app/tools/gimpwarptool.c | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/app/tools/gimpwarptool.c b/app/tools/gimpwarptool.c
index cc5a73a..9b4c2fa 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -57,9 +57,6 @@
static void gimp_warp_tool_start (GimpWarpTool *wt,
GimpDisplay *display);
-static void gimp_warp_tool_options_notify (GimpTool *tool,
- GimpToolOptions *options,
- const GParamSpec *pspec);
static void gimp_warp_tool_button_press (GimpTool *tool,
const GimpCoords *coords,
guint32 time,
@@ -136,7 +133,6 @@ gimp_warp_tool_class_init (GimpWarpToolClass *klass)
GimpToolClass *tool_class = GIMP_TOOL_CLASS (klass);
GimpDrawToolClass *draw_tool_class = GIMP_DRAW_TOOL_CLASS (klass);
- tool_class->options_notify = gimp_warp_tool_options_notify;
tool_class->button_press = gimp_warp_tool_button_press;
tool_class->button_release = gimp_warp_tool_button_release;
tool_class->key_press = gimp_warp_tool_key_press;
@@ -265,27 +261,6 @@ gimp_warp_tool_start (GimpWarpTool *wt,
gimp_draw_tool_start (GIMP_DRAW_TOOL (wt), display);
}
-static void
-gimp_warp_tool_options_notify (GimpTool *tool,
- GimpToolOptions *options,
- const GParamSpec *pspec)
-{
- GimpWarpTool *wt = GIMP_WARP_TOOL (tool);
-
- GIMP_TOOL_CLASS (parent_class)->options_notify (tool, options, pspec);
-
- if (! tool->display)
- return;
-
- gimp_draw_tool_pause (GIMP_DRAW_TOOL (tool));
-
- if (strcmp (pspec->name, "foo") == 0)
- {
- }
-
- gimp_draw_tool_resume (GIMP_DRAW_TOOL (tool));
-}
-
static gboolean
gimp_warp_tool_key_press (GimpTool *tool,
GdkEventKey *kevent,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]