From ebebafc09518010ca6cd9a4dc23f79ac3f4fb2a7 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Wed, 30 Jan 2002 01:47:27 +0000 Subject: Revert the last changes to make the number of digits only effect drawing, Tue Jan 29 20:38:04 2002 Owen Taylor * gtk/gtkscale.[ch]: Revert the last changes to make the number of digits only effect drawing, instead, don't round unless we are in the 'draw_value' mode -- this is the behavior of GTK+-1.2, and keeps the behavior that if the user sees a displayed value, it is the correct value. --- gtk/gtkscale.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkscale.h') diff --git a/gtk/gtkscale.h b/gtk/gtkscale.h index ecc028c60b..7bfca7d77e 100644 --- a/gtk/gtkscale.h +++ b/gtk/gtkscale.h @@ -52,7 +52,7 @@ struct _GtkScale { GtkRange range; - gint draw_digits; + gint digits; guint draw_value : 1; guint value_pos : 2; }; -- cgit v1.2.1