forked from AuroraMiddleware/gtk
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:
parent
e916568781
commit
afc57cabf0
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user