[gimp] app: Also allow GIMP_DEBUG as debug environment variable
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] app: Also allow GIMP_DEBUG as debug environment variable
- Date: Sat, 19 Sep 2009 14:00:25 +0000 (UTC)
commit 93d8b91d4916f5ebd961200756a10a69c5a431d8
Author: Martin Nordholts <martinn src gnome org>
Date: Sat Sep 19 15:55:22 2009 +0200
app: Also allow GIMP_DEBUG as debug environment variable
Also allow GIMP_DEBUG as debug environment variable since that is what
you would guess the name is if you used e.g. the GDK_DEBUG environment
variable before.
app/gimp-log.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/gimp-log.c b/app/gimp-log.c
index 1ffcf38..e089e96 100644
--- a/app/gimp-log.c
+++ b/app/gimp-log.c
@@ -30,6 +30,9 @@ gimp_log_init (void)
{
const gchar *env_log_val = g_getenv ("GIMP_LOG");
+ if (! env_log_val)
+ env_log_val = g_getenv ("GIMP_DEBUG");
+
if (env_log_val)
{
const GDebugKey log_keys[] =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]