[grilo] core: annotate ownership transfer of grl_registry_register_source()



commit 9621ecdf2326d60145a92c601922d305f8992544
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Mon Nov 17 12:03:24 2014 +0100

    core: annotate ownership transfer of grl_registry_register_source()
    
    Do as the comment in the function says, "Take ownership of the source".
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740186

 src/grl-registry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/grl-registry.c b/src/grl-registry.c
index 4af5b1e..017e625 100644
--- a/src/grl-registry.c
+++ b/src/grl-registry.c
@@ -804,7 +804,7 @@ grl_registry_get_default (void)
  * grl_registry_register_source:
  * @registry: the registry instance
  * @plugin: the plugin which owns the source
- * @source: the source to register
+ * @source: (transfer full): the source to register
  * @error: error return location or @NULL to ignore
  *
  * Register a @source in the @registry with the given @plugin information


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