app/Makefile.am set G_LOG_DOMAINs for the app and for libgimp so we can

2000-07-30  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* libgimp/Makefile.am: set G_LOG_DOMAINs for the app and for
	libgimp so we can distinguish their warnings from plug-in ones.

	* libgimp/gimp.c: set the stack_trace_mode before installing
	signal handlers.
This commit is contained in:
Michael Natterer 2000-07-30 16:25:19 +00:00 committed by Michael Natterer
parent 430bef296f
commit ed3eb946b9
4 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2000-07-30 Michael Natterer <mitch@gimp.org>
* app/Makefile.am
* libgimp/Makefile.am: set G_LOG_DOMAINs for the app and for
libgimp so we can distinguish their warnings from plug-in ones.
* libgimp/gimp.c: set the stack_trace_mode before installing
signal handlers.
2000-07-30 Sven Neumann <sven@gimp.org>
* plug-ins/gdyntext/gdyntext_ui.c: use gimp_ui_init(). This also

View File

@ -448,6 +448,7 @@ AM_CPPFLAGS = \
-DLIBDIR=\""$(gimpplugindir)"\" \
-DLOCALEDIR=\""$(localedir)"\" \
-DREGEX_MALLOC \
-DG_LOG_DOMAIN=\"Gimp\" \
@GIMP_THREAD_FLAGS@ \
@GIMP_MP_FLAGS@

View File

@ -5,6 +5,7 @@ gimpincludedir = $(includedir)/libgimp
AM_CPPFLAGS = \
-DGIMPDIR=\""$(gimpdir)"\" \
-DDATADIR=\""$(gimpdatadir)"\" \
-DG_LOG_DOMAIN=\"LibGimp\" \
@GIMP_THREAD_FLAGS@
INCLUDES = \

View File

@ -220,6 +220,10 @@ gimp_main (int argc,
g_set_prgname (g_basename (progname));
stack_trace_mode = (GimpStackTraceMode) CLAMP (atoi (argv[5]),
GIMP_STACK_TRACE_NEVER,
GIMP_STACK_TRACE_ALWAYS);
#ifndef G_OS_WIN32
/* No use catching these on Win32, the user won't get any meaningful
* stack trace from glib anyhow. It's better to let Windows inform
@ -260,10 +264,6 @@ gimp_main (int argc,
return 0;
}
stack_trace_mode = (GimpStackTraceMode) CLAMP (atoi (argv[5]),
GIMP_STACK_TRACE_NEVER,
GIMP_STACK_TRACE_ALWAYS);
g_set_message_handler ((GPrintFunc) gimp_message_func);
temp_proc_ht = g_hash_table_new (&g_str_hash, &g_str_equal);