summaryrefslogtreecommitdiff
path: root/gtk/gtkwindowcontrols.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-10-11 12:17:53 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-10-14 15:06:12 -0400
commit557a363b4fd243e05011eb11817bb5ce384aa82f (patch)
tree18e0fc4055a3b907713dff312a879e743d9294b8 /gtk/gtkwindowcontrols.c
parentae009b344f4007b9a2cc4d40a5a4610b98c6ea42 (diff)
downloadgtk+-557a363b4fd243e05011eb11817bb5ce384aa82f.tar.gz
windowcontrols: decoration-layout is nullable
Diffstat (limited to 'gtk/gtkwindowcontrols.c')
-rw-r--r--gtk/gtkwindowcontrols.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkwindowcontrols.c b/gtk/gtkwindowcontrols.c
index 83ee0e23c9..b7e2acf17c 100644
--- a/gtk/gtkwindowcontrols.c
+++ b/gtk/gtkwindowcontrols.c
@@ -624,7 +624,7 @@ gtk_window_controls_set_side (GtkWindowControls *self,
* Gets the decoration layout set with
* gtk_window_controls_set_decoration_layout().
*
- * Returns: the decoration layout
+ * Returns: (nullable): the decoration layout or %NULL if it is unset
*/
const char *
gtk_window_controls_get_decoration_layout (GtkWindowControls *self)
@@ -637,7 +637,7 @@ gtk_window_controls_get_decoration_layout (GtkWindowControls *self)
/**
* gtk_window_controls_set_decoration_layout:
* @self: a #GtkWindowControls
- * @layout: (allow-none): a decoration layout, or %NULL to
+ * @layout: (nullable): a decoration layout, or %NULL to
* unset the layout
*
* Sets the decoration layout for the title buttons, overriding