GtkViewport: annotate the adjustment args of the constructor

NULL is accepted here, so add (allow-none).

https://bugzilla.gnome.org/show_bug.cgi?id=694022
This commit is contained in:
Torsten Schönfeld 2013-02-17 14:00:10 +01:00 committed by Cosimo Cecchi
parent e916568781
commit afc57cabf0

View File

@ -255,10 +255,11 @@ gtk_viewport_init (GtkViewport *viewport)
/**
* gtk_viewport_new:
* @hadjustment: horizontal adjustment
* @vadjustment: vertical adjustment
* @hadjustment: (allow-none): horizontal adjustment
* @vadjustment: (allow-none): vertical adjustment
*
* Creates a new #GtkViewport with the given adjustments.
* Creates a new #GtkViewport with the given adjustments, or with default
* adjustments if none are given.
*
* Returns: a new #GtkViewport
*/