summaryrefslogtreecommitdiff
path: root/gtk/gtkadjustment.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-05-02 18:35:23 +0000
committerTim Janik <timj@src.gnome.org>1998-05-02 18:35:23 +0000
commitd466bcb7a0d9c5d45c9419d280d803bcb4f4ee6e (patch)
tree36fb8ba2febf56a5899c073c66e952ec14076ef0 /gtk/gtkadjustment.h
parent998ac3109674b9001eecb3058f3e379fecaf82e7 (diff)
downloadgtk+-d466bcb7a0d9c5d45c9419d280d803bcb4f4ee6e.tar.gz
only emit "value_changed" if we really passed a new value.
Sat May 2 20:19:03 1998 Tim Janik <timj@gtk.org> * gtk/gtkadjustment.c (gtk_adjustment_set_value): only emit "value_changed" if we really passed a new value. (gtk_adjustment_changed): new function to emit the "changed" signal. (gtk_adjustment_set_value): new function to emit the "value_changed" signal.
Diffstat (limited to 'gtk/gtkadjustment.h')
-rw-r--r--gtk/gtkadjustment.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/gtk/gtkadjustment.h b/gtk/gtkadjustment.h
index 75caf47e87..e525fb7052 100644
--- a/gtk/gtkadjustment.h
+++ b/gtk/gtkadjustment.h
@@ -59,19 +59,21 @@ struct _GtkAdjustmentClass
};
-GtkType gtk_adjustment_get_type (void);
-GtkObject* gtk_adjustment_new (gfloat value,
- gfloat lower,
- gfloat upper,
- gfloat step_increment,
- gfloat page_increment,
- gfloat page_size);
-void gtk_adjustment_set_value (GtkAdjustment *adjustment,
- gfloat value);
-void gtk_adjustment_clamp_page (GtkAdjustment *adjustment,
- gfloat lower,
- gfloat upper);
-
+GtkType gtk_adjustment_get_type (void);
+GtkObject* gtk_adjustment_new (gfloat value,
+ gfloat lower,
+ gfloat upper,
+ gfloat step_increment,
+ gfloat page_increment,
+ gfloat page_size);
+void gtk_adjustment_set_value (GtkAdjustment *adjustment,
+ gfloat value);
+void gtk_adjustment_changed (GtkAdjustment *adjustment);
+void gtk_adjustment_value_changed (GtkAdjustment *adjustment);
+void gtk_adjustment_clamp_page (GtkAdjustment *adjustment,
+ gfloat lower,
+ gfloat upper);
+