summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-11-22 20:27:26 +0000
committerDaniel Boles <dboles@src.gnome.org>2017-11-22 20:58:00 +0000
commit42c3b91fa74b988f78fb04cfb75ece480e2343b3 (patch)
tree8609c88a709054badccb1a6e95e0b2fa90c2e6f0
parentc490ac4ed8c23b34e0c399b1ac9f2c970959465d (diff)
downloadgtk+-42c3b91fa74b988f78fb04cfb75ece480e2343b3.tar.gz
SpinButton: Explain meaning of nullable Adjustment
configure() marked the @adj argument as (allow-none) but did not explain what passing NULL would do. Fix that, and move it to (nullable) as well.
-rw-r--r--gtk/gtkspinbutton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index 3ffaae301e..8587df9582 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -1915,13 +1915,13 @@ gtk_spin_button_default_output (GtkSpinButton *spin_button)
/**
* gtk_spin_button_configure:
* @spin_button: a #GtkSpinButton
- * @adjustment: (allow-none): a #GtkAdjustment
+ * @adjustment: (nullable): a #GtkAdjustment to replace the spin button’s
+ * existing adjustment, or %NULL to leave its current adjustment unchanged
* @climb_rate: the new climb rate
* @digits: the number of decimal places to display in the spin button
*
* Changes the properties of an existing spin button. The adjustment,
- * climb rate, and number of decimal places are all changed accordingly,
- * after this function call.
+ * climb rate, and number of decimal places are updated accordingly.
*/
void
gtk_spin_button_configure (GtkSpinButton *spin_button,