Re: [libosinfo 1/2] Improve osinfo_install_config_new API doc

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

 



On Wed, Dec 19, 2012 at 8:14 AM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> It was inaccurately saying that the newly created OsinfoInstallConfig
> is empty while it has some default values set.

ACK!

> ---
>  osinfo/osinfo_install_config.c | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/osinfo/osinfo_install_config.c b/osinfo/osinfo_install_config.c
> index 64e7ed5..219a8e2 100644
> --- a/osinfo/osinfo_install_config.c
> +++ b/osinfo/osinfo_install_config.c
> @@ -99,9 +99,15 @@ osinfo_install_config_init (OsinfoInstallConfig *config)
>   * osinfo_install_config_new:
>   * @id: the unique identifier
>   *
> - * Construct a new install configuration that is initially empty.
> + * Construct a new install configuration with default values for
> + * language, keyboard, timezone and admin password. The default values
> + * are to use an 'us' keyboard, an 'en_US.UTF-8' language and an
> + * 'America/New_York' timezone. The admin password is set to a random
> + * 8 character password.
> + *
> + * Returns: (transfer full): an install configuration with default
> + * values
>   *
> - * Returns: (transfer full): an empty install configuration
>   */
>  OsinfoInstallConfig *osinfo_install_config_new(const gchar *id)
>  {
> --
> 1.8.0.2
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libosinfo



--
Fabiano Fidêncio

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux