Commit 6318349b authored by Martin Nordholts's avatar Martin Nordholts

app: Add GIMP_LOG_WM

Add GIMP_LOG_WM domain to be used for window management related
output.
parent 1c0dea57
......@@ -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',
......
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment