mirror of https://github.com/GNOME/gimp.git
renamed tile_sanitize_rowhints() to tile_allocate_rowhints().
2007-05-29 Sven Neumann <sven@gimp.org> * app/base/tile.[ch]: renamed tile_sanitize_rowhints() to tile_allocate_rowhints(). * app/base/tile-manager.c * app/paint-funcs/paint-funcs.c: changed accordingly. svn path=/trunk/; revision=22648
This commit is contained in:
parent
18d586fb1d
commit
3081e02db0
|
@ -1,3 +1,11 @@
|
|||
2007-05-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/base/tile.[ch]: renamed tile_sanitize_rowhints() to
|
||||
tile_allocate_rowhints().
|
||||
|
||||
* app/base/tile-manager.c
|
||||
* app/paint-funcs/paint-funcs.c: changed accordingly.
|
||||
|
||||
2007-05-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_drawable): also
|
||||
|
|
|
@ -210,7 +210,8 @@ tile_manager_get (TileManager *tm,
|
|||
|
||||
if ((*tile_ptr)->rowhint)
|
||||
{
|
||||
tile_sanitize_rowhints (new);
|
||||
tile_allocate_rowhints (new);
|
||||
|
||||
memcpy (new->rowhint, (*tile_ptr)->rowhint,
|
||||
new->eheight * sizeof (TileRowHint));
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ static void tile_destroy (Tile *tile);
|
|||
|
||||
|
||||
void
|
||||
tile_sanitize_rowhints (Tile *tile)
|
||||
tile_allocate_rowhints (Tile *tile)
|
||||
{
|
||||
if (! tile->rowhint)
|
||||
tile->rowhint = g_slice_alloc0 (sizeof (TileRowHint) * TILE_HEIGHT);
|
||||
|
|
|
@ -78,7 +78,7 @@ TileRowHint tile_get_rowhint (Tile *tile,
|
|||
void tile_set_rowhint (Tile *tile,
|
||||
gint yoff,
|
||||
TileRowHint rowhint);
|
||||
void tile_sanitize_rowhints (Tile *tile);
|
||||
void tile_allocate_rowhints (Tile *tile);
|
||||
|
||||
void * tile_data_pointer (Tile *tile,
|
||||
gint xoff,
|
||||
|
|
|
@ -162,7 +162,7 @@ update_tile_rowhints (Tile *tile,
|
|||
g_assert (tile != NULL);
|
||||
#endif
|
||||
|
||||
tile_sanitize_rowhints (tile);
|
||||
tile_allocate_rowhints (tile);
|
||||
|
||||
bpp = tile_bpp (tile);
|
||||
ewidth = tile_ewidth (tile);
|
||||
|
|
Loading…
Reference in New Issue