[gimp] app: Add GIMP_LOG_WM
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Subject: [gimp] app: Add GIMP_LOG_WM
- Date: Mon, 20 Jul 2009 11:15:00 +0000 (UTC)
commit 6318349bf862686a4f7204fa33852fb8ccbc0c1c
Author: Martin Nordholts <martinn src gnome org>
Date: Mon Jul 20 09:32:53 2009 +0200
app: Add GIMP_LOG_WM
Add GIMP_LOG_WM domain to be used for window management related
output.
app/gimp-log.c | 3 ++-
app/gimp-log.h | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/app/gimp-log.c b/app/gimp-log.c
index b5cb955..1ffcf38 100644
--- a/app/gimp-log.c
+++ b/app/gimp-log.c
@@ -43,7 +43,8 @@ gimp_log_init (void)
{ "save-dialog", GIMP_LOG_SAVE_DIALOG },
{ "image-scale", GIMP_LOG_IMAGE_SCALE },
{ "shadow-tiles", GIMP_LOG_SHADOW_TILES },
- { "scale", GIMP_LOG_SCALE }
+ { "scale", GIMP_LOG_SCALE },
+ { "wm", GIMP_LOG_WM }
};
/* g_parse_debug_string() has special treatment of the string 'help',
diff --git a/app/gimp-log.h b/app/gimp-log.h
index 22ae015..eecdb5f 100644
--- a/app/gimp-log.h
+++ b/app/gimp-log.h
@@ -30,7 +30,8 @@ typedef enum
GIMP_LOG_SAVE_DIALOG = 1 << 6,
GIMP_LOG_IMAGE_SCALE = 1 << 7,
GIMP_LOG_SHADOW_TILES = 1 << 8,
- GIMP_LOG_SCALE = 1 << 9
+ GIMP_LOG_SCALE = 1 << 9,
+ GIMP_LOG_WM = 1 << 10
} GimpLogFlags;
@@ -81,6 +82,7 @@ void gimp_logv (const gchar *function,
#define IMAGE_SCALE GIMP_LOG_IMAGE_SCALE
#define SHADOW_TILES GIMP_LOG_SHADOW_TILES
#define SCALE GIMP_LOG_SCALE
+#define WM GIMP_LOG_WM
#if 0 /* last resort */
# define GIMP_LOG /* nothing => no varargs, no log */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]