mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
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:
|
* gtk_viewport_new:
|
||||||
* @hadjustment: horizontal adjustment
|
* @hadjustment: (allow-none): horizontal adjustment
|
||||||
* @vadjustment: vertical 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
|
* Returns: a new #GtkViewport
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user