Skip to content
  • Jehan's avatar
    Bug 792657 - A useless error message when cancelling opening a .svgz. · c548d5d3
    Jehan authored
    Use the new gimp_get_pdb_status() to forward the error returned by
    gimp_file_load(). Previous code was always returning
    GIMP_PDB_EXECUTION_ERROR when the file load was failing, but this was
    not granular enough. In particular when the file load is actually
    interactively cancelled through Esc or the "Cancel" button, we don't
    want to display an error message on screen. Therefore we forward the
    actual error raised by the underlining plug-in.
    c548d5d3