summaryrefslogtreecommitdiff
path: root/gtk/gtkadjustment.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-03-19 21:06:38 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-03-19 21:06:38 +0000
commit489c376bf4b98f0e521f6ab4992a1c9ac7529657 (patch)
tree3b065d89aebf3147870f232f643f4af2f929d0b1 /gtk/gtkadjustment.c
parentc5f68d2527735465da0f11013871b5b719aae405 (diff)
downloadgtk+-489c376bf4b98f0e521f6ab4992a1c9ac7529657.tar.gz
Handle quoting of / with \; properly handle __ in paths, quote " and \n in
Mon Mar 19 15:53:36 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkitemfactory.c gtk/testgtk.c: Handle quoting of / with \; properly handle __ in paths, quote " and \n in gtk_item_factory_dump_items(). * gtk/gtkadjustment.[ch] gtk/gtkclist.c gtk/gtkhruler.c gtk/gtklayout.c gtk/gtklist.c gtk/gtkprogress.[ch] gtk/gtkprogressbar.[ch] gtk/gtkrange.[ch] gtk/gtkruler.[ch] gtk/gtkscale.c gtk/gtkscrolledwindow.c gtk/gtkspinbutton.[ch] gtk/gtktext.c gtk/gtktextview.c gtk/gtkvruler.c gtk/testgtk.c: Change float to double everywhere with the exception of 0<->1.0 alignment and GtkCurve.
Diffstat (limited to 'gtk/gtkadjustment.c')
-rw-r--r--gtk/gtkadjustment.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkadjustment.c b/gtk/gtkadjustment.c
index 266e890a4e..6826028ba9 100644
--- a/gtk/gtkadjustment.c
+++ b/gtk/gtkadjustment.c
@@ -105,12 +105,12 @@ gtk_adjustment_init (GtkAdjustment *adjustment)
}
GtkObject*
-gtk_adjustment_new (gfloat value,
- gfloat lower,
- gfloat upper,
- gfloat step_increment,
- gfloat page_increment,
- gfloat page_size)
+gtk_adjustment_new (gdouble value,
+ gdouble lower,
+ gdouble upper,
+ gdouble step_increment,
+ gdouble page_increment,
+ gdouble page_size)
{
GtkAdjustment *adjustment;
@@ -128,7 +128,7 @@ gtk_adjustment_new (gfloat value,
void
gtk_adjustment_set_value (GtkAdjustment *adjustment,
- gfloat value)
+ gdouble value)
{
g_return_if_fail (adjustment != NULL);
g_return_if_fail (GTK_IS_ADJUSTMENT (adjustment));
@@ -163,8 +163,8 @@ gtk_adjustment_value_changed (GtkAdjustment *adjustment)
void
gtk_adjustment_clamp_page (GtkAdjustment *adjustment,
- gfloat lower,
- gfloat upper)
+ gdouble lower,
+ gdouble upper)
{
gboolean need_emission;