[retro-gtk] retro-option-iterator: Add missing gir annotations



commit 913e1070fe2fb67f5a24c9649786d929dd27d135
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Mar 2 20:40:34 2020 +0500

    retro-option-iterator: Add missing gir annotations
    
    Make out params in retro_option_iterator_next() transfer none to avoid
    double free in Vala.

 retro-gtk/retro-option-iterator.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/retro-gtk/retro-option-iterator.c b/retro-gtk/retro-option-iterator.c
index 18be4c4..00865be 100644
--- a/retro-gtk/retro-option-iterator.c
+++ b/retro-gtk/retro-option-iterator.c
@@ -36,8 +36,8 @@ retro_option_iterator_init (RetroOptionIterator *self)
 /**
  * retro_option_iterator_next:
  * @self: a #RetroOptionIterator
- * @key: (out) (optional): return location for the key
- * @option: (out) (optional) (nullable): return location for the option
+ * @key: (out) (optional) (transfer none): return location for the key
+ * @option: (out) (optional) (nullable) (transfer none): return location for the option
  *
  * Fetch the next #RetroOption and its key.
  *


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