Use the new _clear function and more cleanups.

2001-01-02  Daniel Egger  <egger@suse.de>

        * app/clone.c:
	* app/gimpimage.c:
	* app/temp_buf.c: Use the new _clear function and more cleanups.
This commit is contained in:
Daniel Egger
2001-01-02 19:14:24 +00:00
committed by Daniel Egger
parent e7a9439e5f
commit b4630d410e
17 changed files with 22 additions and 28 deletions

View File

@ -3819,7 +3819,7 @@ gimp_image_construct_composite_preview (GimpImage *gimage,
/* The construction buffer */
comp = temp_buf_new (width, height, bytes, 0, 0, NULL);
memset (temp_buf_data (comp), 0, comp->width * comp->height * comp->bytes);
temp_buf_data_clear (comp);
floating_sel = NULL;
for (list = gimage->layers; list; list = g_slist_next (list))