[libhandy] header-bar: Replace the deprecated (allow-none) by (nullable)
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] header-bar: Replace the deprecated (allow-none) by (nullable)
- Date: Thu, 16 Jul 2020 14:16:52 +0000 (UTC)
commit 7bc3324e061fffb8c946eb44a0e24310caa7e496
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Jul 15 17:00:40 2020 +0200
header-bar: Replace the deprecated (allow-none) by (nullable)
src/hdy-header-bar.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/hdy-header-bar.c b/src/hdy-header-bar.c
index 1b2a17cd..58fd410c 100644
--- a/src/hdy-header-bar.c
+++ b/src/hdy-header-bar.c
@@ -2365,7 +2365,7 @@ hdy_header_bar_pack_end (HdyHeaderBar *self,
/**
* hdy_header_bar_set_title:
* @self: a #HdyHeaderBar
- * @title: (allow-none): a title, or %NULL
+ * @title: (nullable): a title, or %NULL
*
* Sets the title of the #HdyHeaderBar. The title should help a user
* identify the current view. A good title should not include the
@@ -2419,7 +2419,7 @@ hdy_header_bar_get_title (HdyHeaderBar *self)
/**
* hdy_header_bar_set_subtitle:
* @self: a #HdyHeaderBar
- * @subtitle: (allow-none): a subtitle, or %NULL
+ * @subtitle: (nullable): a subtitle, or %NULL
*
* Sets the subtitle of the #HdyHeaderBar. The title should give a user
* an additional detail to help them identify the current view.
@@ -2479,7 +2479,7 @@ hdy_header_bar_get_subtitle (HdyHeaderBar *self)
/**
* hdy_header_bar_set_custom_title:
* @self: a #HdyHeaderBar
- * @title_widget: (allow-none): a custom widget to use for a title
+ * @title_widget: (nullable): a custom widget to use for a title
*
* Sets a custom title for the #HdyHeaderBar.
*
@@ -2673,8 +2673,7 @@ hdy_header_bar_get_has_subtitle (HdyHeaderBar *self)
/**
* hdy_header_bar_set_decoration_layout:
* @self: a #HdyHeaderBar
- * @layout: (allow-none): a decoration layout, or %NULL to
- * unset the layout
+ * @layout: (nullable): a decoration layout, or %NULL to unset the layout
*
* Sets the decoration layout for this header bar, overriding
* the #GtkSettings:gtk-decoration-layout setting.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]