[gimp/metadata-browser] app: allow to create TileManagers with >4 bpp
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gimp/metadata-browser] app: allow to create TileManagers with >4 bpp
- Date: Wed, 12 Sep 2012 23:53:47 +0000 (UTC)
commit a86f6c66b12dbca42734a2f7e8a538161275e52e
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]