Skip to content
  • Michael Natterer's avatar
    app: add gimp_layer_mode_get_context_array() · 89b27867
    Michael Natterer authored
    which returns an array of modes in the order they would appear in a
    GimpLayerModeContext's UI (like tool options or the layers dialog),
    without the separators.
    
    Use it in context-commands.c and layers-commands.c instead of static
    (and outdated) arrays for the actions that cycle through modes.
    89b27867