diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2004-10-04 16:54:41 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2004-10-04 16:54:41 +0000 |
commit | f3f32e2505438f236dfdc696f0124c787bc01f33 (patch) | |
tree | 39df880c2824001a2f70474cb3bd2e644174dcc1 /Tachometer.c | |
parent | 84f3f4ded2c8a594f49d661f8293405bf5af5fba (diff) | |
download | gpsd-f3f32e2505438f236dfdc696f0124c787bc01f33.tar.gz |
BSD port fixes and more code cleanup.
Diffstat (limited to 'Tachometer.c')
-rw-r--r-- | Tachometer.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Tachometer.c b/Tachometer.c index 47771f67..c4d17557 100644 --- a/Tachometer.c +++ b/Tachometer.c @@ -528,11 +528,8 @@ static void Realize(Widget w, Mask *valueMask, XSetWindowAttributes *attributes) (*superclass->core_class.realize) (w, valueMask, attributes); } /* Realize */ -/* - * Repaint the widget window - */ - static void Redisplay(Widget w, XEvent *event, Region region) +/* Repaint the widget window */ { TachometerWidget ta = (TachometerWidget) w; @@ -596,7 +593,6 @@ static Boolean SetValues(Widget current, Widget request, Widget new) GetbackgroundGC(newta); changed = True; } - if (curta->tachometer.value != newta->tachometer.value) { MoveNeedle(newta, newta->tachometer.value); changed = True; |