summaryrefslogtreecommitdiff
path: root/gtk/gtkpopover.c
diff options
context:
space:
mode:
authorCameron White <cameronwhite91@gmail.com>2023-02-09 22:46:43 -0500
committerCameron White <cameronwhite91@gmail.com>2023-02-09 22:46:43 -0500
commit0cb3555a656a116d617567e73b951b242edc0057 (patch)
treef2e606c510f1b9b392f772c82ae22ca9d68d3f07 /gtk/gtkpopover.c
parent48e141a42c19189523710878711498cd3fca3e7e (diff)
downloadgtk+-0cb3555a656a116d617567e73b951b242edc0057.tar.gz
Fix a couple incorrect annotations for optional parameters
The 'optional' annotation should be used in these cases rather than 'nullable'. NULL can provided to ignore these output parameters, but the function is not setting the output parameter to NULL.
Diffstat (limited to 'gtk/gtkpopover.c')
-rw-r--r--gtk/gtkpopover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 7ff8cc95a2..78dc4034c2 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -2484,8 +2484,8 @@ gtk_popover_set_offset (GtkPopover *popover,
/**
* gtk_popover_get_offset:
* @popover: a `GtkPopover`
- * @x_offset: (out) (nullable): a location for the x_offset
- * @y_offset: (out) (nullable): a location for the y_offset
+ * @x_offset: (out) (optional): a location for the x_offset
+ * @y_offset: (out) (optional): a location for the y_offset
*
* Gets the offset previous set with [method@Gtk.Popover.set_offset()].
*/