[gimp/metadata-browser] app: remove unused variable in gimp_image_map_tool_initialize()



commit e67d44da0e71d292d83f580ba3edd07d34b34ade
Author: Michael Natterer <mitch gimp org>
Date:   Sat Sep 24 16:20:50 2011 +0200

    app: remove unused variable in gimp_image_map_tool_initialize()

 app/tools/gimpimagemaptool.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpimagemaptool.c b/app/tools/gimpimagemaptool.c
index 887268e..1c25092 100644
--- a/app/tools/gimpimagemaptool.c
+++ b/app/tools/gimpimagemaptool.c
@@ -59,7 +59,6 @@
 #include "display/gimpdisplay.h"
 #include "display/gimpdisplayshell.h"
 #include "display/gimpdisplayshell-transform.h"
-#include "display/gimpimagewindow.h"
 #include "display/gimptooldialog.h"
 
 #include "gimpcoloroptions.h"
@@ -294,15 +293,12 @@ gimp_image_map_tool_initialize (GimpTool     *tool,
   if (! image_map_tool->dialog)
     {
       GimpImageMapToolClass *klass;
-      GimpImageWindow       *window;
       GtkWidget             *dialog;
       GtkWidget             *vbox;
       GtkWidget             *toggle;
 
       klass = GIMP_IMAGE_MAP_TOOL_GET_CLASS (image_map_tool);
 
-      window = gimp_display_shell_get_window (display_shell);
-
       /*  disabled for at least GIMP 2.8  */
       image_map_tool->overlay = FALSE;
 



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