[gimp/gimp-2-10] plug-ins: forgot one deprecated call in sample-colorize
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] plug-ins: forgot one deprecated call in sample-colorize
- Date: Tue, 9 Jul 2019 11:18:48 +0000 (UTC)
commit bd91ddce8b546dd866e4c64b90724f7b4dbfde10
Author: Michael Natterer <mitch gimp org>
Date: Tue Jul 9 13:17:31 2019 +0200
plug-ins: forgot one deprecated call in sample-colorize
(cherry picked from commit 2a54b1b41cc32db8b8582a1a330dda42bd1b64dd)
plug-ins/common/sample-colorize.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/plug-ins/common/sample-colorize.c b/plug-ins/common/sample-colorize.c
index 86270b510b..60c18349b3 100644
--- a/plug-ins/common/sample-colorize.c
+++ b/plug-ins/common/sample-colorize.c
@@ -41,7 +41,6 @@
#define PLUG_IN_ROLE "gimp-sample-colorize"
#define NUMBER_IN_ARGS 13
-#define TILE_CACHE_SIZE 32
#define LUMINOSITY_0(X) ((X[0] * 30 + X[1] * 59 + X[2] * 11))
#define LUMINOSITY_1(X) ((X[0] * 30 + X[1] * 59 + X[2] * 11) / 100)
#define MIX_CHANNEL(a, b, m) (((a * m) + (b * (255 - m))) / 255)
@@ -363,8 +362,6 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable_id) ||
gimp_drawable_is_gray (drawable_id))
{
- gimp_tile_cache_ntiles (TILE_CACHE_SIZE);
-
switch (run_mode)
{
case GIMP_RUN_INTERACTIVE:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]