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.
This commit is contained in:
Matthias Clasen 2004-11-10 03:20:11 +00:00 committed by Matthias Clasen
parent 384b1c4886
commit 3ee4892fee
5 changed files with 23 additions and 3 deletions

View File

@ -1,5 +1,10 @@
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.
* gtk/gtkfilechooserbutton.c (update_idler): Remove debugging
printfs.

View File

@ -1,5 +1,10 @@
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.
* gtk/gtkfilechooserbutton.c (update_idler): Remove debugging
printfs.

View File

@ -1,5 +1,10 @@
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.
* gtk/gtkfilechooserbutton.c (update_idler): Remove debugging
printfs.

View File

@ -1,5 +1,10 @@
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.
* gtk/gtkfilechooserbutton.c (update_idler): Remove debugging
printfs.

View File

@ -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;