[retro-gtk] retro-controller-iterator: Mark controller in next() as (transfer none)
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] retro-controller-iterator: Mark controller in next() as (transfer none)
- Date: Mon, 3 Feb 2020 21:19:51 +0000 (UTC)
commit 63d014f7c8e55eeb7391461ba6fdb514f2020e57
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun Feb 2 16:05:45 2020 +0500
retro-controller-iterator: Mark controller in next() as (transfer none)
The lack of this causes Vala to unref the controller afterwards.
retro-gtk/retro-controller-iterator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/retro-gtk/retro-controller-iterator.c b/retro-gtk/retro-controller-iterator.c
index 89b9156..d20554b 100644
--- a/retro-gtk/retro-controller-iterator.c
+++ b/retro-gtk/retro-controller-iterator.c
@@ -37,7 +37,7 @@ retro_controller_iterator_init (RetroControllerIterator *self)
* retro_controller_iterator_next:
* @self: a #RetroControllerIterator
* @port: (out) (optional): return location for the port
- * @controller: (out) (optional) (nullable): return location for the controller
+ * @controller: (out) (optional) (transfer none): return location for the controller
*
* Fetch the next #RetroController and the port number it is plugged into.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]