[gtk+] GtkSpinButton: Clarify clamping behavior in gtk_spin_button_set_range doc



commit 5b6f0b9893a146814201a75c55ff223637e2e830
Author: Stef Walter <stefw collabora co uk>
Date:   Mon Nov 14 10:59:10 2011 +0100

    GtkSpinButton: Clarify clamping behavior in gtk_spin_button_set_range doc
    
     * 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 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index 6be36aa..b65f20f 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]