diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-01-30 01:47:27 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-01-30 01:47:27 +0000 |
commit | ebebafc09518010ca6cd9a4dc23f79ac3f4fb2a7 (patch) | |
tree | 3191c78350cadd3de4cbb8aeab4254e5c5474fbe /gtk/gtkscale.h | |
parent | ea4135b064b6fa42405e9b5d4fa906d626b95c1e (diff) | |
download | gtk+-ebebafc09518010ca6cd9a4dc23f79ac3f4fb2a7.tar.gz |
Revert the last changes to make the number of digits only effect drawing,
Tue Jan 29 20:38:04 2002 Owen Taylor <otaylor@redhat.com>
* 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.
Diffstat (limited to 'gtk/gtkscale.h')
-rw-r--r-- | gtk/gtkscale.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |