From a3b9dba13c2684453a0ea2e45054d9e0157d043a Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 3 Mar 2020 13:17:31 +0000 Subject: 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. --- gtk/gtkdroptarget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkdroptarget.c') diff --git a/gtk/gtkdroptarget.c b/gtk/gtkdroptarget.c index 89e91a9a9a..b93e43c462 100644 --- a/gtk/gtkdroptarget.c +++ b/gtk/gtkdroptarget.c @@ -864,7 +864,7 @@ gtk_drop_target_set_gtypes (GtkDropTarget *self, /** * gtk_drop_target_get_gtypes: * @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 * * Gets the list of supported #GTypes for @self. If no type have been set, -- cgit v1.2.1