summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollable.c
diff options
context:
space:
mode:
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2022-01-01 17:39:45 +0100
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2022-01-01 17:39:45 +0100
commitddb2e91a42221e66af6eb608cde9345e1b540a69 (patch)
tree684ca86b5ac58cfd3e1bd4d59c1e8b588c4dd1f8 /gtk/gtkscrollable.c
parent90357193c94b0fe57a53bdcf1f15e654f5bae043 (diff)
downloadgtk+-ddb2e91a42221e66af6eb608cde9345e1b540a69.tar.gz
gtk: add nullable annotations for Scrollable getters
The adjustment setters takes a nullable and so should the getters be annotated
Diffstat (limited to 'gtk/gtkscrollable.c')
-rw-r--r--gtk/gtkscrollable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkscrollable.c b/gtk/gtkscrollable.c
index 0d4a2d51af..041f09ac04 100644
--- a/gtk/gtkscrollable.c
+++ b/gtk/gtkscrollable.c
@@ -130,7 +130,7 @@ gtk_scrollable_default_init (GtkScrollableInterface *iface)
*
* Retrieves the `GtkAdjustment` used for horizontal scrolling.
*
- * Returns: (transfer none): horizontal `GtkAdjustment`.
+ * Returns: (transfer none) (nullable): horizontal `GtkAdjustment`.
*/
GtkAdjustment *
gtk_scrollable_get_hadjustment (GtkScrollable *scrollable)
@@ -174,7 +174,7 @@ gtk_scrollable_set_hadjustment (GtkScrollable *scrollable,
*
* Retrieves the `GtkAdjustment` used for vertical scrolling.
*
- * Returns: (transfer none): vertical `GtkAdjustment`.
+ * Returns: (transfer none) (nullable): vertical `GtkAdjustment`.
*/
GtkAdjustment *
gtk_scrollable_get_vadjustment (GtkScrollable *scrollable)