[libhandy] action-row: Document that get_icon_name() doesn't transfer string ownership



commit 1969b458f28896403131096771bdcb1868fa0ec5
Author: Yetizone <andreii lisita gmail com>
Date:   Mon Dec 14 11:24:50 2020 +0200

    action-row: Document that get_icon_name() doesn't transfer string ownership

 src/hdy-action-row.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/hdy-action-row.c b/src/hdy-action-row.c
index 6ae6ab77..a1538b50 100644
--- a/src/hdy-action-row.c
+++ b/src/hdy-action-row.c
@@ -606,7 +606,8 @@ hdy_action_row_set_subtitle (HdyActionRow *self,
  *
  * Gets the icon name for @self.
  *
- * Returns: the icon name for @self.
+ * Returns: (transfer none): the icon name for @self.
+ * The returned string is owned by the #HdyActionRow and should not be freed.
  *
  * Since: 0.0.6
  */


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