app: remove the image map tool overlay before hiding it again

Which means I have given up finding that last bug (for now).
This commit is contained in:
Michael Natterer 2013-04-28 14:57:57 +02:00
parent 77e70f3550
commit f6ec4f4af2
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}