diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-11-10 03:20:11 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-11-10 03:20:11 +0000 |
commit | 3ee4892feea09dc2715a05712d106f121a773238 (patch) | |
tree | 4b0e8d4bdce98dcb9ad0e28383e1d579eab4d7fb /gtk | |
parent | 384b1c488601e5efab5f65dbe3bc53d38737cf22 (diff) | |
download | gtk+-3ee4892feea09dc2715a05712d106f121a773238.tar.gz |
Make power a double. (gtk_range_class_init): s/digits/decimal digits/ in
2004-11-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrange.c (gtk_range_real_change_value): Make
power a double.
(gtk_range_class_init): s/digits/decimal digits/ in doc
comment.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkrange.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 80240ef600..bad90e36e3 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -300,8 +300,8 @@ gtk_range_class_init (GtkRangeClass *class) * * The value parameter is unrounded. An application that overrides * the ::change-value signal is responsible for clamping the value to - * the desired number of digits; the default GTK+ handler clamps the - * value based on @range->round_digits. + * the desired number of decimal digits; the default GTK+ handler + * clamps the value based on @range->round_digits. * * It is not possible to use delayed update policies in an overridden * ::change-value handler. @@ -2390,7 +2390,7 @@ gtk_range_real_change_value (GtkRange *range, if (range->round_digits >= 0) { - glong power; + gdouble power; gint i; i = range->round_digits; |