forked from AuroraMiddleware/gtk
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:
parent
5e099e2606
commit
a3b9dba13c
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user