[gimp] app: allow to create TileManagers with >4 bpp
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: allow to create TileManagers with >4 bpp
- Date: Wed, 2 May 2012 16:41:52 +0000 (UTC)
commit 1cec6565c9c5a7518a832c6b65dd26a01bbe88b0
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]