[gtk: 61/72] windowcontrols: decoration-layout is nullable
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 61/72] windowcontrols: decoration-layout is nullable
- Date: Wed, 14 Oct 2020 19:08:13 +0000 (UTC)
commit 557a363b4fd243e05011eb11817bb5ce384aa82f
Author: Timm Bäder <mail baedert org>
Date: Sun Oct 11 12:17:53 2020 +0200
windowcontrols: decoration-layout is nullable
gtk/gtkwindowcontrols.c | 4 ++--
1 file 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]