fixed parameter passed to gimp_image_get_background(). Fixes bug #445719.

2007-06-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimpselection.c (gimp_selection_extract): fixed
	parameter passed to gimp_image_get_background(). Fixes bug 
#445719.


svn path=/trunk/; revision=22748
This commit is contained in:
Sven Neumann
2007-06-09 16:43:25 +00:00
committed by Sven Neumann
parent dabf16b162
commit d7c712403c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-06-09 Sven Neumann <sven@gimp.org>
* app/core/gimpselection.c (gimp_selection_extract): fixed
parameter passed to gimp_image_get_background(). Fixes bug #445719.
2007-06-08 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.h: Applied patch from Daniel

View File

@ -686,7 +686,8 @@ gimp_selection_extract (GimpChannel *selection,
break;
}
gimp_image_get_background (image, context, gimp_pickable_get_bytes (pickable),
gimp_image_get_background (image, context,
gimp_pickable_get_image_type (pickable),
bg_color);
/* If a cut was specified, and the selection mask is not empty,