[libhandy/libhandy-1-0] action-row: Document that get_icon_name() doesn't transfer string ownership
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/libhandy-1-0] action-row: Document that get_icon_name() doesn't transfer string ownership
- Date: Wed, 23 Dec 2020 23:11:05 +0000 (UTC)
commit 29b3a1a1573bf396bdecd728c0e386b24eb8b0d5
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 dfcaf318..4e887650 100644
--- a/src/hdy-action-row.c
+++ b/src/hdy-action-row.c
@@ -554,7 +554,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]