[gimp] app: change the default paint mode in GimpContext to GIMP_LAYER_MODE_NORMAL



commit 9ac34bda702bd9702951810e9ee121b1dd7629ff
Author: Michael Natterer <mitch gimp org>
Date:   Tue Apr 24 13:56:51 2018 +0200

    app: change the default paint mode in GimpContext to GIMP_LAYER_MODE_NORMAL

 app/core/gimpcontext.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpcontext.c b/app/core/gimpcontext.c
index c45e87f..39f3d28 100644
--- a/app/core/gimpcontext.c
+++ b/app/core/gimpcontext.c
@@ -696,7 +696,7 @@ gimp_context_class_init (GimpContextClass *klass)
                          _("Paint Mode"),
                          _("Paint Mode"),
                          GIMP_TYPE_LAYER_MODE,
-                         GIMP_LAYER_MODE_NORMAL_LEGACY,
+                         GIMP_LAYER_MODE_NORMAL,
                          GIMP_PARAM_STATIC_STRINGS);
 
   GIMP_CONFIG_PROP_OBJECT (object_class, GIMP_CONTEXT_PROP_BRUSH,
@@ -2464,7 +2464,7 @@ gimp_context_real_set_opacity (GimpContext *context,
 GimpLayerMode
 gimp_context_get_paint_mode (GimpContext *context)
 {
-  g_return_val_if_fail (GIMP_IS_CONTEXT (context), GIMP_LAYER_MODE_NORMAL_LEGACY);
+  g_return_val_if_fail (GIMP_IS_CONTEXT (context), GIMP_LAYER_MODE_NORMAL);
 
   return context->paint_mode;
 }


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