summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollable.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-19 07:24:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-05-20 19:17:49 -0400
commit7fe0610b681c96823c45b88ca2c9657f1320bef8 (patch)
tree41969f7b0b3526fdc2fba178ab04c96bb1371ffb /gtk/gtkscrollable.c
parent8ba16eb4f1e6df67d79a9d509a3a45126a032e46 (diff)
downloadgtk+-7fe0610b681c96823c45b88ca2c9657f1320bef8.tar.gz
introspection: Stop using allow-none
allow-none has been deprecated for a long time already. Instead use optional and nullable everywhere.
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 5fbc41c2ac..0d4a2d51af 100644
--- a/gtk/gtkscrollable.c
+++ b/gtk/gtkscrollable.c
@@ -154,7 +154,7 @@ gtk_scrollable_get_hadjustment (GtkScrollable *scrollable)
/**
* gtk_scrollable_set_hadjustment: (attributes org.gtk.Method.set_property=hadjustment)
* @scrollable: a `GtkScrollable`
- * @hadjustment: (allow-none): a `GtkAdjustment`
+ * @hadjustment: (nullable): a `GtkAdjustment`
*
* Sets the horizontal adjustment of the `GtkScrollable`.
*/
@@ -198,7 +198,7 @@ gtk_scrollable_get_vadjustment (GtkScrollable *scrollable)
/**
* gtk_scrollable_set_vadjustment: (attributes org.gtk.Method.set_property=vadjustment)
* @scrollable: a `GtkScrollable`
- * @vadjustment: (allow-none): a `GtkAdjustment`
+ * @vadjustment: (nullable): a `GtkAdjustment`
*
* Sets the vertical adjustment of the `GtkScrollable`.
*/