mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +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:
|
||||
* @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