[libhandy] action-row: Make the subtitle nullable



commit 2212e0277f4e1eef757af3cd64115ad554933d24
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Mon Jul 27 10:17:58 2020 +0200

    action-row: Make the subtitle nullable
    
    This matches the title, making the widget more consistent.

 src/hdy-action-row.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/hdy-action-row.c b/src/hdy-action-row.c
index a0b5ba60..95108aea 100644
--- a/src/hdy-action-row.c
+++ b/src/hdy-action-row.c
@@ -503,7 +503,7 @@ hdy_action_row_new (void)
  *
  * Gets the subtitle for @self.
  *
- * Returns: the subtitle for @self.
+ * Returns: (transfer none) (nullable): the subtitle for @self, or %NULL.
  *
  * Since: 0.0.6
  */
@@ -522,7 +522,7 @@ hdy_action_row_get_subtitle (HdyActionRow *self)
 /**
  * hdy_action_row_set_subtitle:
  * @self: a #HdyActionRow
- * @subtitle: the subtitle
+ * @subtitle: (nullable): the subtitle
  *
  * Sets the subtitle for @self.
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]