summaryrefslogtreecommitdiff
path: root/gtk/gtkalignment.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-02-19 14:53:17 -0200
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-03 20:56:15 -0400
commiteee7bb2b2ec87081b16d8a708853c9396c7695ec (patch)
tree784661560e995c3318ee24b6232d7ecbb5e0b508 /gtk/gtkalignment.c
parent87334d465c170a8ea9ca8eb809d52ef895b613d2 (diff)
downloadgtk+-eee7bb2b2ec87081b16d8a708853c9396c7695ec.tar.gz
[annotations] Add allow-none
This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
Diffstat (limited to 'gtk/gtkalignment.c')
-rw-r--r--gtk/gtkalignment.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c
index 2d8ccb5421..cfcd9d409f 100644
--- a/gtk/gtkalignment.c
+++ b/gtk/gtkalignment.c
@@ -567,10 +567,10 @@ gtk_alignment_set_padding (GtkAlignment *alignment,
/**
* gtk_alignment_get_padding:
* @alignment: a #GtkAlignment
- * @padding_top: location to store the padding for the top of the widget, or %NULL
- * @padding_bottom: location to store the padding for the bottom of the widget, or %NULL
- * @padding_left: location to store the padding for the left of the widget, or %NULL
- * @padding_right: location to store the padding for the right of the widget, or %NULL
+ * @padding_top: (allow-none): location to store the padding for the top of the widget, or %NULL
+ * @padding_bottom: (allow-none): location to store the padding for the bottom of the widget, or %NULL
+ * @padding_left: (allow-none): location to store the padding for the left of the widget, or %NULL
+ * @padding_right: (allow-none): location to store the padding for the right of the widget, or %NULL
*
* Gets the padding on the different sides of the widget.
* See gtk_alignment_set_padding ().