]> Pileus Git - ~andy/gtk/commitdiff
GtkSpinButton: Clarify clamping behavior in gtk_spin_button_set_range doc
authorStef Walter <stefw@collabora.co.uk>
Mon, 14 Nov 2011 09:59:10 +0000 (10:59 +0100)
committerStef Walter <stefw@collabora.co.uk>
Tue, 15 Nov 2011 06:47:35 +0000 (07:47 +0100)
 * If the current value is outside the range, it will be adjusted
   to fit within the range, otherwise it will remain unchanged.

https://bugzilla.gnome.org/show_bug.cgi?id=664021

gtk/gtkspinbutton.c

index 6be36aac6b299b07c84f91c05f3bfc1a826b7f64..b65f20f19b031a76af7daab3432fc1fb11366d44 100644 (file)
@@ -2147,6 +2147,9 @@ gtk_spin_button_get_increments (GtkSpinButton *spin_button,
  * @max: maximum allowable value
  *
  * Sets the minimum and maximum allowable values for @spin_button.
+ *
+ * If the current value is outside this range, it will be adjusted
+ * to fit within the range, otherwise it will remain unchanged.
  */
 void
 gtk_spin_button_set_range (GtkSpinButton *spin_button,