Fix annotation for GtkDropTarget.get_gtypes()

The argument name must match in the documentation, and the `allow-none`
annotation is deprecated, and should be replaced by `optional` in this
case.
This commit is contained in:
Emmanuele Bassi 2020-03-03 13:17:31 +00:00
parent 5e099e2606
commit a3b9dba13c

View File

@ -864,7 +864,7 @@ gtk_drop_target_set_gtypes (GtkDropTarget *self,
/** /**
* gtk_drop_target_get_gtypes: * gtk_drop_target_get_gtypes:
* @self: a #GtkDropTarget * @self: a #GtkDropTarget
* @n_gtypes: (out) (allow-none): optional pointer to take the * @n_types: (out) (optional): optional pointer to take the
* number of #GTypes contained in the return value * number of #GTypes contained in the return value
* *
* Gets the list of supported #GTypes for @self. If no type have been set, * Gets the list of supported #GTypes for @self. If no type have been set,