[gtk/wip/baedert/for-master: 47/54] windowcontrols: decoration-layout is nullable
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 47/54] windowcontrols: decoration-layout is nullable
- Date: Tue, 13 Oct 2020 03:55:31 +0000 (UTC)
commit 94a4a78a5513325e92576d1a1286b3418819c484
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]