From ce5ae4edf2474c857b32e0e40873cbe3fdac26c2 Mon Sep 17 00:00:00 2001 From: Olof S Kylander/GIMP Date: Sat, 4 Sep 1999 17:56:22 +0000 Subject: [PATCH] fix of ifdef in paint_core.c fix of ifdef in paint_core.c --- ChangeLog | 7 +++++++ app/paint_core.c | 2 ++ app/tools/paint_core.c | 2 ++ 3 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index df44a908f7..ee39b6cffd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sat Sep 4 19:56:55 CEST 1999 Olof S Kylander + + * app/paint_core.c + + - Fixed a missing "ifdef" reported by SHIRASAKI Yasuhiro + + Sat Sep 4 16:58:36 MEST 1999 Sven Neumann * app/devices.c diff --git a/app/paint_core.c b/app/paint_core.c index a0fe9e030f..5369338a68 100644 --- a/app/paint_core.c +++ b/app/paint_core.c @@ -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... */ diff --git a/app/tools/paint_core.c b/app/tools/paint_core.c index a0fe9e030f..5369338a68 100644 --- a/app/tools/paint_core.c +++ b/app/tools/paint_core.c @@ -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... */