ifdef'ed out calls to _gimp_tile_cache_flush_drawable() since it can't be

2004-06-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/dog.c (dog): ifdef'ed out calls to
	_gimp_tile_cache_flush_drawable() since it can't be used from a
	plug-in. Removed trailing whitespace and redundant includes.

	* libgimp/gimp.def: removed _gimp_tile_cache_flush_drawable again.
This commit is contained in:
Sven Neumann
2004-06-28 08:47:51 +00:00
committed by Sven Neumann
parent 96e8b93e2a
commit 6d4d1d2f82
3 changed files with 87 additions and 77 deletions

View File

@ -1,3 +1,11 @@
2004-06-28 Sven Neumann <sven@gimp.org>
* plug-ins/common/dog.c (dog): ifdef'ed out calls to
_gimp_tile_cache_flush_drawable() since it can't be used from a
plug-in. Removed trailing whitespace and redundant includes.
* libgimp/gimp.def: removed _gimp_tile_cache_flush_drawable again.
2004-06-28 Simon Budig <simon@gimp.org>
* app/tools/gimpvectortool.c: fixed drawing code to properly

View File

@ -1,7 +1,6 @@
EXPORTS
_gimp_drawable_thumbnail
_gimp_image_thumbnail
_gimp_tile_cache_flush_drawable
gimp_airbrush
gimp_airbrush_default
gimp_attach_new_parasite

View File

@ -24,10 +24,9 @@
* subtracting the results. Blurring is done using code taken from
* gauss_rle.c (as of Gimp 2.1, incorporated into gauss.c).
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
@ -472,8 +471,10 @@ dog (GimpDrawable *drawable,
gauss_rle (drawable1, inner, 0, show_progress);
gauss_rle (drawable2, outer, 1, show_progress);
#if 0
_gimp_tile_cache_flush_drawable (drawable1);
_gimp_tile_cache_flush_drawable (drawable2);
#endif
compute_difference (drawable, drawable1, drawable2, &maxval);
@ -493,7 +494,9 @@ dog (GimpDrawable *drawable,
gimp_drawable_flush (drawable);
gimp_drawable_merge_shadow (drawable_id, TRUE);
gimp_drawable_update (drawable_id, x1, y1, width, height);
#if 0
_gimp_tile_cache_flush_drawable (drawable);
#endif
}
if (dogvals.invert)