[Libosinfo] [libosinfo PATCH] os: Fix _find_install_script() annotation

Christophe Fergeau cfergeau at redhat.com
Mon Dec 10 14:39:13 UTC 2018


On Mon, Dec 10, 2018 at 03:15:54PM +0100, Fabiano Fidêncio wrote:
> osinfo_os_find_install_script() returns an object which its ownsership
> is not transferred.

'which ownership is not transferred" I think.

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

Christophe

> 
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
>  osinfo/osinfo_os.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/osinfo/osinfo_os.c b/osinfo/osinfo_os.c
> index 02c1415..d69dd9f 100644
> --- a/osinfo/osinfo_os.c
> +++ b/osinfo/osinfo_os.c
> @@ -996,7 +996,7 @@ void osinfo_os_add_maximum_resources(OsinfoOs *os,
>   * @profile: the install script profile that must be either
>   * OSINFO_INSTALL_SCRIPT_PROFILE_DESKTOP or OSINFO_INSTALL_SCRIPT_PROFILE_JEOS
>   *
> - * Returns: (transfer full): A new #OsinfoInstallScript for the @os @profile
> + * Returns: (transfer none): A new #OsinfoInstallScript for the @os @profile
>   */
>  OsinfoInstallScript *osinfo_os_find_install_script(OsinfoOs *os, const gchar *profile)
>  {
> -- 
> 2.19.1
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20181210/6abd9efe/attachment.sig>


More information about the Libosinfo mailing list