code cleanup.

2007-12-13  Sven Neumann  <sven@gimp.org>

	* app/gimp-log.h: code cleanup.

svn path=/trunk/; revision=24350
This commit is contained in:
Sven Neumann 2007-12-13 13:20:42 +00:00 committed by Sven Neumann
parent 48565e3011
commit baed3f8347
2 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2007-12-13 Sven Neumann <sven@gimp.org>
* app/gimp-log.h: code cleanup.
2007-12-13 Sven Neumann <sven@gimp.org>
* app/base/tile-manager-crop.c (tile_manager_crop): code cleanup.

View File

@ -66,14 +66,17 @@ void gimp_logv (const gchar *function,
#else /* no varargs macros */
/* need to expand all the short forms to make them known constants at compile time */
#define TOOL_EVENTS GIMP_LOG_TOOL_EVENTS
#define TOOL_FOCUS GIMP_LOG_TOOL_FOCUS
#define DND GIMP_LOG_DND
#define HELP GIMP_LOG_HELP
/* need to expand all the short forms
* to make them known constants at compile time
*/
#define TOOL_EVENTS GIMP_LOG_TOOL_EVENTS
#define TOOL_FOCUS GIMP_LOG_TOOL_FOCUS
#define DND GIMP_LOG_DND
#define HELP GIMP_LOG_HELP
#define DIALOG_FACTORY GIMP_LOG_DIALOG_FACTORY
#define SAVE_DIALOG GIMP_LOG_SAVE_DIALOG
#define IMAGE_SCALE GIMP_LOG_IMAGE_SCALE
#define SAVE_DIALOG GIMP_LOG_SAVE_DIALOG
#define IMAGE_SCALE GIMP_LOG_IMAGE_SCALE
#if 0 /* last resort */
# define GIMP_LOG /* nothing => no varargs, no log */
#endif