Skip to content
  • Michael Natterer's avatar
    app: make gimp_selection_tool_start_edit() much easier to use correctly · d27b7a98
    Michael Natterer authored
    - Add a "display" parameter and ignore tool->display
    - Require the tool to be inactive, not active when calling it
    
    This exactly matches all its use cases, which is "delegate to
    GimpEditSelection tool if we are not doing anything ourselves", and
    enables removing all delegate_button_press() functions because they
    became one-liners after adapting to this change.
    d27b7a98