From 93509593e36f1c0eb2c2b92126e98cfbb404090c Mon Sep 17 00:00:00 2001 From: Marc Lehmann Date: Mon, 8 Mar 1999 20:28:35 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 5 +++++ app/layer_cmds.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index da370e7a58..9bfe8cad9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 8 21:23:10 CET 1999 Marc Lehmann + + * app/layer_cmds.c: updated gimp_layer_new and gimp_layer_set_mode to + accept a DIVIDE_MODE argument. + 1999-03-08 Jay Cox * app/plug_in.c: use g_io_channel_close/unref pairs instead of close diff --git a/app/layer_cmds.c b/app/layer_cmds.c index 9a681596f4..2caac7f64e 100644 --- a/app/layer_cmds.c +++ b/app/layer_cmds.c @@ -90,7 +90,7 @@ layer_new_invoker (Argument *args) if (success) { int_value = args[6].value.pdb_int; - if (int_value >= NORMAL_MODE && int_value <= VALUE_MODE) + if (int_value >= NORMAL_MODE && int_value <= DIVIDE_MODE) mode = int_value; else success = FALSE; @@ -136,7 +136,7 @@ ProcArg layer_new_args[] = }, { PDB_INT32, "mode", - "the layer combination mode: { NORMAL (0), DISSOLVE (1), MULTIPLY (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14) }" + "the layer combination mode: { NORMAL (0), DISSOLVE (1), MULTIPLY (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }" } }; @@ -1753,7 +1753,7 @@ layer_set_mode_invoker (Argument *args) if (success) { int_value = args[1].value.pdb_int; - if (int_value >= NORMAL_MODE && int_value <= VALUE_MODE) + if (int_value >= NORMAL_MODE && int_value <= DIVIDE_MODE) layer->mode = int_value; else success = FALSE;