[gegl] maze: simplify enum value strings for algorithm type property



commit e5c1d36028042b94729a12b0b47352521ac44278
Author: Thomas Manni <thomas manni free fr>
Date:   Mon Oct 16 20:25:34 2017 +0200

    maze: simplify enum value strings for algorithm type property
    
    Replace white spaces by hyphens and remove upper-case letters.

 operations/common-gpl3+/maze.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/common-gpl3+/maze.c b/operations/common-gpl3+/maze.c
index b529764..11513bb 100644
--- a/operations/common-gpl3+/maze.c
+++ b/operations/common-gpl3+/maze.c
@@ -33,8 +33,8 @@
 #ifdef GEGL_PROPERTIES
 
 enum_start (gegl_maze_algorithm)
-  enum_value (GEGL_MAZE_ALGORITHM_DEPTH_FIRST, "Depth First", N_("Depth first"))
-  enum_value (GEGL_MAZE_ALGORITHM_PRIM,        "Prim",        N_("Prim's algorithm"))
+  enum_value (GEGL_MAZE_ALGORITHM_DEPTH_FIRST, "depth-first", N_("Depth first"))
+  enum_value (GEGL_MAZE_ALGORITHM_PRIM,        "prim",        N_("Prim's algorithm"))
 enum_end (GeglMazeAlgorithm)
 
 property_int    (x, _("Width"), 16)


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