[gimp] libgimp: replace gimp_on_error_query() and g_on_error_stack_trace().
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: replace gimp_on_error_query() and g_on_error_stack_trace().
- Date: Fri, 9 Feb 2018 01:31:56 +0000 (UTC)
commit e53d0c742c166a018438731cb5516e112f7ff625
Author: Jehan <jehan girinstud io>
Date: Fri Feb 9 02:25:58 2018 +0100
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.
libgimp/gimp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimp/gimp.c b/libgimp/gimp.c
index 26cf5da..cf767a2 100644
--- a/libgimp/gimp.c
+++ b/libgimp/gimp.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]