[gimp/metadata-browser] app (selectiontool): Drop dead code



commit dcb437bfc905767c41e91e60cfa9a6e229c1414f
Author: Mukund Sivaraman <muks banu com>
Date:   Wed Oct 12 17:15:04 2011 +0530

    app (selectiontool): Drop dead code

 app/tools/gimpselectiontool.c |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)
---
diff --git a/app/tools/gimpselectiontool.c b/app/tools/gimpselectiontool.c
index 64e8c6a..f83d32b 100644
--- a/app/tools/gimpselectiontool.c
+++ b/app/tools/gimpselectiontool.c
@@ -101,7 +101,7 @@ gimp_selection_tool_modifier_key (GimpTool        *tool,
       key == modify_mask ||
       key == GDK_MOD1_MASK)
     {
-      GimpChannelOps button_op = options->operation;
+      GimpChannelOps button_op;
 
       if (press)
         {
@@ -114,17 +114,6 @@ gimp_selection_tool_modifier_key (GimpTool        *tool,
               selection_tool->saved_operation = options->operation;
             }
         }
-      else
-        {
-          if (! (state & (extend_mask |
-                          modify_mask |
-                          GDK_MOD1_MASK)))
-            {
-              /*  last modifier released  */
-
-              button_op = selection_tool->saved_operation;
-            }
-        }
 
       if (state & GDK_MOD1_MASK)
         {



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