tile-cache.c tile-private.h removed trailing whitespace, added some

2004-02-18  Sven Neumann  <sven@gimp.org>

	* tile-cache.c
	* tile-private.h
	* tile.[ch]: removed trailing whitespace, added some newlines,
	let tile_is_valid() return a gboolean instead of a gint.

	* app/core/gimpimage-projection.c
	* app/core/gimpimage-undo-push.c
	* app/paint/gimppaintcore.c
	* app/tools/gimpinktool.c: use the return value from tile_is_valid()
	as a boolean.
This commit is contained in:
Sven Neumann 2004-02-18 18:54:33 +00:00 committed by Sven Neumann
parent 40ac20ff92
commit c94f85b345
4 changed files with 16 additions and 3 deletions

View File

@ -8,6 +8,19 @@
of a straight line to the center of an image-pixel unless
the brush mode is GIMP_BRUSH_HARD. Fixes bug #134410.
2004-02-18 Sven Neumann <sven@gimp.org>
* tile-cache.c
* tile-private.h
* tile.[ch]: removed trailing whitespace, added some newlines,
let tile_is_valid() return a gboolean instead of a gint.
* app/core/gimpimage-projection.c
* app/core/gimpimage-undo-push.c
* app/paint/gimppaintcore.c
* app/tools/gimpinktool.c: use the return value from tile_is_valid()
as a boolean.
2004-02-18 Sven Neumann <sven@gimp.org>
* app/base/tile.h: exchanged TILEROWHINT_UNKNOWN and

View File

@ -282,7 +282,7 @@ gimp_image_invalidate (GimpImage *gimage,
/* If the tile is not valid, make sure we get the entire tile
* in the construction extents
*/
if (tile_is_valid (tile) == FALSE)
if (! tile_is_valid (tile))
{
tilex = j - (j % TILE_WIDTH);
tiley = i - (i % TILE_HEIGHT);

View File

@ -257,7 +257,7 @@ undo_pop_image (GimpUndo *undo,
{
src_tile = tile_manager_get_tile (tiles, j, i, FALSE, FALSE);
if (tile_is_valid (src_tile) == TRUE)
if (tile_is_valid (src_tile))
{
/* swap tiles, not pixels! */

View File

@ -282,7 +282,7 @@ gimp_image_invalidate (GimpImage *gimage,
/* If the tile is not valid, make sure we get the entire tile
* in the construction extents
*/
if (tile_is_valid (tile) == FALSE)
if (! tile_is_valid (tile))
{
tilex = j - (j % TILE_WIDTH);
tiley = i - (i % TILE_HEIGHT);