[gimp/goat-invasion] app: allow to create TileManagers with >4 bpp



commit 39dafc226c38f5634f15ff7b9a55380269165db4
Author: Michael Natterer <mitch gimp org>
Date:   Sun Apr 22 20:24:11 2012 +0200

    app: allow to create TileManagers with >4 bpp

 app/base/tile-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/base/tile-manager.c b/app/base/tile-manager.c
index 5837309..fe8e165 100644
--- a/app/base/tile-manager.c
+++ b/app/base/tile-manager.c
@@ -98,7 +98,7 @@ tile_manager_new (gint width,
   TileManager *tm;
 
   g_return_val_if_fail (width > 0 && height > 0, NULL);
-  g_return_val_if_fail (bpp > 0 && bpp <= 4, NULL);
+  g_return_val_if_fail (bpp > 0, NULL);
 
   tm = g_slice_new0 (TileManager);
 



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