Commit eaddef59 authored by Michael Natterer's avatar Michael Natterer 😴

app: make sure crash-saving of open images to XCF doesn't call the GUI

gimp_eek(): simply increase gimp->busy so XCF saving calling
gimp_set_busy() and gimp_unset_busy() won't call the GUI layer and do
whatever windowing system calls to set busy cursors.
parent e58e2ec5
......@@ -454,6 +454,12 @@ gimp_eek (const gchar *reason,
*/
if (backup_path)
{
/* increase the busy counter, so XCF saving calling
* gimp_set_busy() and gimp_unset_busy() won't call the GUI
* layer and do whatever windowing system calls to set cursors.
*/
the_errors_gimp->busy++;
/* The index of 'XXX' in backup_path string. */
num_idx = strlen (backup_path) - 7;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment