libgimp: replace gimp_on_error_query() and g_on_error_stack_trace().

Our own implementation is much better.
I don't make it into a GUI yet, but at least the CLI option will use the
new implementation in plug-ins as well, which will be quite useful.
This commit is contained in:
Jehan
2018-02-09 02:25:58 +01:00
parent 276f07521c
commit e53d0c742c

View File

@ -1917,7 +1917,7 @@ gimp_plugin_sigfatal_handler (gint sig_num)
sigemptyset (&sigset); sigemptyset (&sigset);
sigprocmask (SIG_SETMASK, &sigset, NULL); sigprocmask (SIG_SETMASK, &sigset, NULL);
g_on_error_query (progname); gimp_on_error_query (progname);
} }
break; break;
@ -1927,7 +1927,7 @@ gimp_plugin_sigfatal_handler (gint sig_num)
sigemptyset (&sigset); sigemptyset (&sigset);
sigprocmask (SIG_SETMASK, &sigset, NULL); sigprocmask (SIG_SETMASK, &sigset, NULL);
g_on_error_stack_trace (progname); gimp_print_stack_trace (progname, stdout, NULL);
} }
break; break;
} }