diff options
author | Johan Dahlin <johan@gnome.org> | 2010-02-19 14:53:17 -0200 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-02-19 17:57:51 -0200 |
commit | fe852721123fb7dc5749c690613ca6e209363e2f (patch) | |
tree | 62ac68aab7296dbea80b199a0e1769ba5621514a /gtk/gtkscale.c | |
parent | 347d406f80f2140a466da30764171cd92aa7d7ea (diff) | |
download | gtk+-fe852721123fb7dc5749c690613ca6e209363e2f.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/gtkscale.c')
-rw-r--r-- | gtk/gtkscale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index a69e05375f..cc2e70d50f 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -1297,8 +1297,8 @@ gtk_scale_get_layout (GtkScale *scale) /** * gtk_scale_get_layout_offsets: * @scale: a #GtkScale - * @x: location to store X offset of layout, or %NULL - * @y: location to store Y offset of layout, or %NULL + * @x: (allow-none): location to store X offset of layout, or %NULL + * @y: (allow-none): location to store Y offset of layout, or %NULL * * Obtains the coordinates where the scale will draw the * #PangoLayout representing the text in the scale. Remember @@ -1394,7 +1394,7 @@ compare_marks (gpointer a, gpointer b) * is drawn above the scale, anything else below. For a vertical scale, * #GTK_POS_LEFT is drawn to the left of the scale, anything else to the * right. - * @markup: Text to be shown at the mark, using <link linkend="PangoMarkupFormat">Pango markup</link>, or %NULL + * @markup: (allow-none): Text to be shown at the mark, using <link linkend="PangoMarkupFormat">Pango markup</link>, or %NULL * * * Adds a mark at @value. |