fix of ifdef in paint_core.c

fix of ifdef in paint_core.c
This commit is contained in:
Olof S Kylander/GIMP
1999-09-04 17:56:22 +00:00
parent 3c01cfd5c0
commit ce5ae4edf2
3 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
Sat Sep 4 19:56:55 CEST 1999 Olof S Kylander <olof@frozenriver.com>
* app/paint_core.c
- Fixed a missing "ifdef" reported by SHIRASAKI Yasuhiro
Sat Sep 4 16:58:36 MEST 1999 Sven Neumann <sven@gimp.org>
* app/devices.c

View File

@ -653,7 +653,9 @@ paint_core_init (PaintCore *paint_core,
paint_core->startpressure = paint_core->lastpressure = paint_core->curpressure = 0.5;
paint_core->startxtilt = paint_core->lastxtilt = paint_core->curxtilt = 0;
paint_core->startytilt = paint_core->lastytilt = paint_core->curytilt = 0;
#ifdef GTK_HAVE_SIX_VALUATORS
paint_core->startwheel = paint_core->lastwheel = paint_core->curwheel = 0.5;
#endif /* GTK_HAVE_SIX_VALUATORS
}
/* Each buffer is the same size as the maximum bounds of the active brush... */

View File

@ -653,7 +653,9 @@ paint_core_init (PaintCore *paint_core,
paint_core->startpressure = paint_core->lastpressure = paint_core->curpressure = 0.5;
paint_core->startxtilt = paint_core->lastxtilt = paint_core->curxtilt = 0;
paint_core->startytilt = paint_core->lastytilt = paint_core->curytilt = 0;
#ifdef GTK_HAVE_SIX_VALUATORS
paint_core->startwheel = paint_core->lastwheel = paint_core->curwheel = 0.5;
#endif /* GTK_HAVE_SIX_VALUATORS
}
/* Each buffer is the same size as the maximum bounds of the active brush... */