[gimp] app: disable the IScissors tool, if you want it back, please go ahead



commit d80182cf25658d38e59e2f0c11ecad4afb528132
Author: Michael Natterer <mitch gimp org>
Date:   Sun May 20 20:38:12 2012 +0200

    app: disable the IScissors tool, if you want it back, please go ahead

 app/tools/gimp-tools.c        |    2 ++
 app/tools/gimpiscissorstool.c |    3 +++
 app/tools/gimpiscissorstool.h |    4 ++++
 menus/image-menu.xml.in       |    2 ++
 4 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimp-tools.c b/app/tools/gimp-tools.c
index f546705..d31e1bf 100644
--- a/app/tools/gimp-tools.c
+++ b/app/tools/gimp-tools.c
@@ -173,7 +173,9 @@ gimp_tools_init (Gimp *gimp)
     /*  selection tools */
 
     gimp_foreground_select_tool_register,
+#if 0
     gimp_iscissors_tool_register,
+#endif
     gimp_by_color_select_tool_register,
     gimp_fuzzy_select_tool_register,
     gimp_free_select_tool_register,
diff --git a/app/tools/gimpiscissorstool.c b/app/tools/gimpiscissorstool.c
index 5d1fae6..bc9ebb8 100644
--- a/app/tools/gimpiscissorstool.c
+++ b/app/tools/gimpiscissorstool.c
@@ -42,6 +42,7 @@
 
 /* Livewire boundary implementation done by Laramie Leavitt */
 
+#if 0
 
 #include "config.h"
 
@@ -1876,3 +1877,5 @@ find_max_gradient (GimpIscissorsTool *iscissors,
         }
     }
 }
+
+#endif
diff --git a/app/tools/gimpiscissorstool.h b/app/tools/gimpiscissorstool.h
index 36a26ba..74e2325 100644
--- a/app/tools/gimpiscissorstool.h
+++ b/app/tools/gimpiscissorstool.h
@@ -15,6 +15,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#if 0
+
 #ifndef __GIMP_ISCISSORS_TOOL_H__
 #define __GIMP_ISCISSORS_TOOL_H__
 
@@ -100,3 +102,5 @@ GType   gimp_iscissors_tool_get_type (void) G_GNUC_CONST;
 
 
 #endif  /*  __GIMP_ISCISSORS_TOOL_H__  */
+
+#endif
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index c25af4e..8e6d243 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -537,7 +537,9 @@
         <menuitem action="tools-foreground-select" />
         <menuitem action="tools-fuzzy-select" />
         <menuitem action="tools-by-color-select" />
+	<!--
         <menuitem action="tools-iscissors" />
+	-->
       </menu>
       <menu action="tools-paint-menu" name="Paint Tools">
         <menuitem action="tools-bucket-fill" />



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