[virt-tools-list] [libosinfo 1/2] install-config: Document expected kbd layout format

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Mon Dec 3 21:48:07 UTC 2012


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

---
 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 adbf9df..6ba9c08 100644
--- a/osinfo/osinfo_install_config.c
+++ b/osinfo/osinfo_install_config.c
@@ -124,7 +124,14 @@ const gchar *osinfo_install_config_get_hardware_arch(OsinfoInstallConfig *config
                                          OSINFO_INSTALL_CONFIG_PROP_HARDWARE_ARCH);
 }
 
-
+/**
+ * osinfo_install_config_set_l10n_keyboard:
+ *
+ * Sets the #OSINFO_INSTALL_CONFIG_PROP_L10N_KEYBOARD parameter.
+ *
+ * The expected format of this string is the same as
+ * #osinfo_install_config_set_l10n_language function's 'language' parameter.
+ */
 void osinfo_install_config_set_l10n_keyboard(OsinfoInstallConfig *config,
                                              const gchar *keyboard)
 {
@@ -133,7 +140,6 @@ void osinfo_install_config_set_l10n_keyboard(OsinfoInstallConfig *config,
                             keyboard);
 }
 
-
 const gchar *osinfo_install_config_get_l10n_keyboard(OsinfoInstallConfig *config)
 {
     return osinfo_entity_get_param_value(OSINFO_ENTITY(config),
-- 
1.8.0.1




More information about the virt-tools-list mailing list