undef DEBUG_SPEW again.

2006-11-07  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-save-dialog.c: undef DEBUG_SPEW again.

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_draw):
	don't draw the handles while the rectangle is being moved.
This commit is contained in:
Sven Neumann 2006-11-07 14:08:14 +00:00 committed by Sven Neumann
parent 9891ed83dd
commit f47f58886a
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2006-11-07 Sven Neumann <sven@gimp.org>
* app/dialogs/file-save-dialog.c: undef DEBUG_SPEW again.
* app/tools/gimprectangletool.c (gimp_rectangle_tool_draw):
don't draw the handles while the rectangle is being moved.
2006-11-07 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/ts-helloworld.scm: test scripts

View File

@ -48,9 +48,6 @@
#include "gimp-intl.h"
#define DEBUG_SPEW 1
/* local function prototypes */
static void file_save_dialog_response (GtkWidget *save_dialog,

View File

@ -1557,8 +1557,12 @@ gimp_rectangle_tool_draw (GimpDrawTool *draw_tool)
switch (private->function)
{
case RECT_CREATING:
case RECT_MOVING:
if (gimp_tool_control_is_active (tool->control))
break;
/* else fallthrough */
case RECT_CREATING:
gimp_draw_tool_draw_corner (draw_tool, FALSE,
private->x1, private->y1,
private->x2, private->y2,