[gimp] plug-ins: change the "compose-type" default values to upper case



commit 45ce68fe15b2f912401a4ee4c6e44d912a0b06ae
Author: Michael Natterer <mitch gimp org>
Date:   Wed Jun 17 21:52:20 2020 +0200

    plug-ins: change the "compose-type" default values to upper case
    
    just for consistency.

 plug-ins/common/compose.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/common/compose.c b/plug-ins/common/compose.c
index 3ad2b94e5c..14e65207c4 100644
--- a/plug-ins/common/compose.c
+++ b/plug-ins/common/compose.c
@@ -320,7 +320,7 @@ static COMPOSE_DSC compose_dsc[] =
 static ComposeVals composevals =
 {
   {{ 0, }}, /* Image IDs of images to compose or mask values */
-  "rgb",    /* Type of composition */
+  "RGB",    /* Type of composition */
   FALSE,    /* Do recompose */
   NULL      /* source layer */
 };
@@ -428,7 +428,7 @@ compose_create_procedure (GimpPlugIn  *plug_in,
       GIMP_PROC_ARG_STRING (procedure, "compose-type",
                             "Compose type",
                             type_desc->str,
-                            NULL,
+                            "RGB",
                             G_PARAM_READWRITE);
 
       GIMP_PROC_VAL_IMAGE (procedure, "new-image",
@@ -477,7 +477,7 @@ compose_create_procedure (GimpPlugIn  *plug_in,
       GIMP_PROC_ARG_STRING (procedure, "compose-type",
                             "Compose type",
                             type_desc->str,
-                            NULL,
+                            "RGB",
                             G_PARAM_READWRITE);
 
       GIMP_PROC_VAL_IMAGE (procedure, "new-image",


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