Commit b2c661e3 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

use gimp_drawable_bytes_with_alpha().

2004-01-18  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore.c (gimp_paint_core_get_paint_area): use
	gimp_drawable_bytes_with_alpha().
parent 370a16fa
2004-01-18 Michael Natterer <mitch@gimp.org>
* app/paint/gimppaintcore.c (gimp_paint_core_get_paint_area): use
gimp_drawable_bytes_with_alpha().
2004-01-18 Michael Natterer <mitch@gimp.org>
 
* app/core/gimpimage.c (gimp_image_set_active_layer): don't allow
......@@ -935,8 +935,7 @@ gimp_paint_core_get_paint_area (GimpPaintCore *core,
gint dwidth, dheight;
gint bwidth, bheight;
bytes = (gimp_drawable_has_alpha (drawable) ?
gimp_drawable_bytes (drawable) : gimp_drawable_bytes (drawable) + 1);
bytes = gimp_drawable_bytes_with_alpha (drawable);
gimp_paint_core_calc_brush_size (core,
core->brush->mask,
......
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