Commit ac4d0a6e authored by Michael Natterer's avatar Michael Natterer 😴

libgimp: make gimp_tile_flush() internal as _gimp_tile_flush()

parent 2a54b1b4
......@@ -695,7 +695,6 @@ EXPORTS
gimp_text_layer_set_line_spacing
gimp_text_layer_set_text
gimp_tile_cache_ntiles
gimp_tile_flush
gimp_tile_height
gimp_tile_ref
gimp_tile_unref
......
......@@ -130,7 +130,7 @@ gimp_drawable_flush (GimpDrawable *drawable)
for (i = 0; i < n_tiles; i++)
if ((tiles[i].ref_count > 0) && tiles[i].dirty)
gimp_tile_flush (&tiles[i]);
_gimp_tile_flush (&tiles[i]);
}
if (drawable->shadow_tiles)
......@@ -140,7 +140,7 @@ gimp_drawable_flush (GimpDrawable *drawable)
for (i = 0; i < n_tiles; i++)
if ((tiles[i].ref_count > 0) && tiles[i].dirty)
gimp_tile_flush (&tiles[i]);
_gimp_tile_flush (&tiles[i]);
}
/* nuke all references to this drawable from the cache */
......
......@@ -120,14 +120,14 @@ gimp_tile_unref (GimpTile *tile,
if (tile->ref_count == 0)
{
gimp_tile_flush (tile);
_gimp_tile_flush (tile);
g_free (tile->data);
tile->data = NULL;
}
}
void
gimp_tile_flush (GimpTile *tile)
_gimp_tile_flush (GimpTile *tile)
{
g_return_if_fail (tile != NULL);
......
......@@ -49,9 +49,6 @@ void gimp_tile_ref (GimpTile *tile);
GIMP_DEPRECATED
void gimp_tile_unref (GimpTile *tile,
gboolean dirty);
GIMP_DEPRECATED
void gimp_tile_flush (GimpTile *tile);
GIMP_DEPRECATED
void gimp_tile_cache_ntiles (gulong ntiles);
......@@ -61,6 +58,8 @@ void gimp_tile_cache_ntiles (gulong ntiles);
G_GNUC_INTERNAL void _gimp_tile_ref_nocache (GimpTile *tile,
gboolean init);
G_GNUC_INTERNAL void _gimp_tile_flush (GimpTile *tile);
G_GNUC_INTERNAL void _gimp_tile_cache_flush_drawable (GimpDrawable *drawable);
......
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