[gimp] app: Remove tile_manager_tiles_per_col() and _per_row()



commit 314d802eb027e3585653a7fe8bf9a4e2a4f2cb99
Author: Martin Nordholts <martinn src gnome org>
Date:   Sun Aug 28 12:32:10 2011 +0200

    app: Remove tile_manager_tiles_per_col() and _per_row()
    
    Remove tile_manager_tiles_per_col() and
    tile_manager_tiles_per_row(). They were used in the projection pyramid
    before TilePyramid was created and are not used any longer.

 app/base/tile-manager.c |   16 ----------------
 app/base/tile-manager.h |    2 --
 2 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/app/base/tile-manager.c b/app/base/tile-manager.c
index 127e9ee..4111df2 100644
--- a/app/base/tile-manager.c
+++ b/app/base/tile-manager.c
@@ -575,22 +575,6 @@ tile_manager_bpp (const TileManager *tm)
   return tm->bpp;
 }
 
-gint
-tile_manager_tiles_per_col (const TileManager *tm)
-{
-  g_return_val_if_fail (tm != NULL, 0);
-
-  return tm->ntile_cols;
-}
-
-gint
-tile_manager_tiles_per_row (const TileManager *tm)
-{
-  g_return_val_if_fail (tm != NULL, 0);
-
-  return tm->ntile_rows;
-}
-
 gint64
 tile_manager_get_memsize (const TileManager *tm,
                           gboolean           sparse)
diff --git a/app/base/tile-manager.h b/app/base/tile-manager.h
index b027143..e9683ed 100644
--- a/app/base/tile-manager.h
+++ b/app/base/tile-manager.h
@@ -95,8 +95,6 @@ void          tile_manager_invalidate_area   (TileManager       *tm,
 gint          tile_manager_width             (const TileManager *tm);
 gint          tile_manager_height            (const TileManager *tm);
 gint          tile_manager_bpp               (const TileManager *tm);
-gint          tile_manager_tiles_per_col     (const TileManager *tm);
-gint          tile_manager_tiles_per_row     (const TileManager *tm);
 
 gint64        tile_manager_get_memsize       (const TileManager *tm,
                                               gboolean           sparse);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]