[gimp/soc-2011-seamless-clone2] app: remove the image map tool overlay before hiding it again



commit cf6068375df0fc6b5689c83090b253920585e8aa
Author: Michael Natterer <mitch gimp org>
Date:   Sun Apr 28 14:57:57 2013 +0200

    app: remove the image map tool overlay before hiding it again
    
    Which means I have given up finding that last bug (for now).

 app/tools/gimpimagemaptool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpimagemaptool.c b/app/tools/gimpimagemaptool.c
index ee8ce92..88f9e8a 100644
--- a/app/tools/gimpimagemaptool.c
+++ b/app/tools/gimpimagemaptool.c
@@ -738,9 +738,9 @@ gimp_image_map_tool_dialog_hide (GimpImageMapTool *image_map_tool)
       if (gtk_widget_get_parent (dialog))
         {
           g_object_ref (dialog);
-          gtk_widget_hide (dialog);
           gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (dialog)),
                                 dialog);
+          gtk_widget_hide (dialog);
         }
     }
 }


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