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:
@ -1917,7 +1917,7 @@ gimp_plugin_sigfatal_handler (gint sig_num)
|
||||
|
||||
sigemptyset (&sigset);
|
||||
sigprocmask (SIG_SETMASK, &sigset, NULL);
|
||||
g_on_error_query (progname);
|
||||
gimp_on_error_query (progname);
|
||||
}
|
||||
break;
|
||||
|
||||
@ -1927,7 +1927,7 @@ gimp_plugin_sigfatal_handler (gint sig_num)
|
||||
|
||||
sigemptyset (&sigset);
|
||||
sigprocmask (SIG_SETMASK, &sigset, NULL);
|
||||
g_on_error_stack_trace (progname);
|
||||
gimp_print_stack_trace (progname, stdout, NULL);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user