[PATCH] annotations: Fixed 'lookup_source' annotation



lookup_source method must be 'transfer-none'
---
 src/grl-plugin-registry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/grl-plugin-registry.c b/src/grl-plugin-registry.c
index ea7ca1b..e92bf0b 100644
--- a/src/grl-plugin-registry.c
+++ b/src/grl-plugin-registry.c
@@ -526,7 +526,7 @@ grl_plugin_registry_load_all (GrlPluginRegistry *registry)
  *
  * This function will search and retrieve a source given its identifier.
  *
- * Returns: (allow-none): The source found.
+ * Returns: (allow-none) (transfer none): The source found.
  */
 GrlMediaPlugin *
 grl_plugin_registry_lookup_source (GrlPluginRegistry *registry,
-- 
1.7.0.4



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