app: Add GIMP_LOG_WM

Add GIMP_LOG_WM domain to be used for window management related
output.
This commit is contained in:
Martin Nordholts 2009-07-20 09:32:53 +02:00
parent 1c0dea5772
commit 6318349bf8
2 changed files with 5 additions and 2 deletions

View File

@ -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',

View File

@ -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 */