summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.h
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/gtkspinbutton.h
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/gtkspinbutton.h')
-rw-r--r--gtk/gtkspinbutton.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkspinbutton.h b/gtk/gtkspinbutton.h
index 04a4c7906d..72ddf47e9b 100644
--- a/gtk/gtkspinbutton.h
+++ b/gtk/gtkspinbutton.h
@@ -83,8 +83,8 @@ struct _GtkSpinButton
guint32 timer;
guint32 ev_time;
- gfloat climb_rate;
- gfloat timer_step;
+ gdouble climb_rate;
+ gdouble timer_step;
GtkSpinButtonUpdatePolicy update_policy;
@@ -104,7 +104,7 @@ struct _GtkSpinButtonClass
GtkEntryClass parent_class;
gint (*input) (GtkSpinButton *spin_button,
- gfloat *new_value);
+ gdouble *new_value);
gint (*output) (GtkSpinButton *spin_button);
};
@@ -113,11 +113,11 @@ GtkType gtk_spin_button_get_type (void) G_GNUC_CONST;
void gtk_spin_button_configure (GtkSpinButton *spin_button,
GtkAdjustment *adjustment,
- gfloat climb_rate,
+ gdouble climb_rate,
guint digits);
GtkWidget* gtk_spin_button_new (GtkAdjustment *adjustment,
- gfloat climb_rate,
+ gdouble climb_rate,
guint digits);
void gtk_spin_button_set_adjustment (GtkSpinButton *spin_button,
@@ -128,12 +128,12 @@ GtkAdjustment* gtk_spin_button_get_adjustment (GtkSpinButton *spin_button);
void gtk_spin_button_set_digits (GtkSpinButton *spin_button,
guint digits);
-gfloat gtk_spin_button_get_value_as_float (GtkSpinButton *spin_button);
+gdouble gtk_spin_button_get_value_as_float (GtkSpinButton *spin_button);
gint gtk_spin_button_get_value_as_int (GtkSpinButton *spin_button);
void gtk_spin_button_set_value (GtkSpinButton *spin_button,
- gfloat value);
+ gdouble value);
void gtk_spin_button_set_update_policy (GtkSpinButton *spin_button,
GtkSpinButtonUpdatePolicy policy);
@@ -143,7 +143,7 @@ void gtk_spin_button_set_numeric (GtkSpinButton *spin_button,
void gtk_spin_button_spin (GtkSpinButton *spin_button,
GtkSpinType direction,
- gfloat increment);
+ gdouble increment);
void gtk_spin_button_set_wrap (GtkSpinButton *spin_button,
gboolean wrap);