Commit 0af5d238 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

move variables to local scope.

2009-01-26  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpregionselecttool.c
	(gimp_region_select_tool_button_release): move variables to local
	scope.


svn path=/trunk/; revision=27951
parent 876a96e4
2009-01-26 Michael Natterer <mitch@gimp.org>
* app/tools/gimpregionselecttool.c
(gimp_region_select_tool_button_release): move variables to local
scope.
2009-01-25 Martin Nordholts <martinn@svn.gnome.org>
* app/pdb/gimpprocedure.[ch] (gimp_procedure_create_override): New
......
......@@ -188,8 +188,6 @@ gimp_region_select_tool_button_release (GimpTool *tool,
if (release_type != GIMP_BUTTON_RELEASE_CANCEL)
{
gint off_x, off_y;
if (GIMP_SELECTION_TOOL (tool)->function == SELECTION_ANCHOR)
{
if (gimp_image_get_floating_selection (display->image))
......@@ -208,12 +206,10 @@ gimp_region_select_tool_button_release (GimpTool *tool,
}
else if (region_sel->region_mask)
{
if (options->sample_merged)
{
off_x = 0;
off_y = 0;
}
else
gint off_x = 0;
gint off_y = 0;
if (! options->sample_merged)
{
GimpDrawable *drawable;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment