summaryrefslogtreecommitdiff
path: root/gtk/gtkdroptarget.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-03-03 13:17:31 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-03-03 13:17:31 +0000
commita3b9dba13c2684453a0ea2e45054d9e0157d043a (patch)
treeafb51c5b32ab47e501d2ad0eb9c9670c5c952667 /gtk/gtkdroptarget.c
parent5e099e26065dbaa3ff994668b5a1a3b9994b535d (diff)
downloadgtk+-a3b9dba13c2684453a0ea2e45054d9e0157d043a.tar.gz
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.
Diffstat (limited to 'gtk/gtkdroptarget.c')
-rw-r--r--gtk/gtkdroptarget.c2
1 files changed, 1 insertions, 1 deletions
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,