mirror of https://github.com/GNOME/gimp.git
app: Add GIMP_LOG_WM
Add GIMP_LOG_WM domain to be used for window management related output.
This commit is contained in:
parent
1c0dea5772
commit
6318349bf8
|
@ -43,7 +43,8 @@ gimp_log_init (void)
|
||||||
{ "save-dialog", GIMP_LOG_SAVE_DIALOG },
|
{ "save-dialog", GIMP_LOG_SAVE_DIALOG },
|
||||||
{ "image-scale", GIMP_LOG_IMAGE_SCALE },
|
{ "image-scale", GIMP_LOG_IMAGE_SCALE },
|
||||||
{ "shadow-tiles", GIMP_LOG_SHADOW_TILES },
|
{ "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',
|
/* 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_SAVE_DIALOG = 1 << 6,
|
||||||
GIMP_LOG_IMAGE_SCALE = 1 << 7,
|
GIMP_LOG_IMAGE_SCALE = 1 << 7,
|
||||||
GIMP_LOG_SHADOW_TILES = 1 << 8,
|
GIMP_LOG_SHADOW_TILES = 1 << 8,
|
||||||
GIMP_LOG_SCALE = 1 << 9
|
GIMP_LOG_SCALE = 1 << 9,
|
||||||
|
GIMP_LOG_WM = 1 << 10
|
||||||
} GimpLogFlags;
|
} GimpLogFlags;
|
||||||
|
|
||||||
|
|
||||||
|
@ -81,6 +82,7 @@ void gimp_logv (const gchar *function,
|
||||||
#define IMAGE_SCALE GIMP_LOG_IMAGE_SCALE
|
#define IMAGE_SCALE GIMP_LOG_IMAGE_SCALE
|
||||||
#define SHADOW_TILES GIMP_LOG_SHADOW_TILES
|
#define SHADOW_TILES GIMP_LOG_SHADOW_TILES
|
||||||
#define SCALE GIMP_LOG_SCALE
|
#define SCALE GIMP_LOG_SCALE
|
||||||
|
#define WM GIMP_LOG_WM
|
||||||
|
|
||||||
#if 0 /* last resort */
|
#if 0 /* last resort */
|
||||||
# define GIMP_LOG /* nothing => no varargs, no log */
|
# define GIMP_LOG /* nothing => no varargs, no log */
|
||||||
|
|
Loading…
Reference in New Issue