[virt-tools-list] [libosinfo 5/5] Minor indentation corrections
Zeeshan Ali (Khattak)
zeeshanak at gnome.org
Thu Nov 8 17:24:54 UTC 2012
From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
---
osinfo/osinfo_install_config_param.c | 64 +++++++++++++++++-------------------
1 file changed, 31 insertions(+), 33 deletions(-)
diff --git a/osinfo/osinfo_install_config_param.c b/osinfo/osinfo_install_config_param.c
index 0c8b96a..8803073 100644
--- a/osinfo/osinfo_install_config_param.c
+++ b/osinfo/osinfo_install_config_param.c
@@ -62,18 +62,17 @@ osinfo_install_config_param_set_property(GObject *object,
OsinfoInstallConfigParam *config_param =
OSINFO_INSTALL_CONFIG_PARAM (object);
- switch (property_id)
- {
- case PROP_NAME:
- osinfo_entity_set_param(OSINFO_ENTITY(config_param),
- OSINFO_INSTALL_CONFIG_PARAM_PROP_NAME,
- g_value_get_string(value));
- break;
- default:
- /* We don't have any other property... */
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
- break;
- }
+ switch (property_id) {
+ case PROP_NAME:
+ osinfo_entity_set_param(OSINFO_ENTITY(config_param),
+ OSINFO_INSTALL_CONFIG_PARAM_PROP_NAME,
+ g_value_get_string(value));
+ break;
+ default:
+ /* We don't have any other property... */
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+ break;
+ }
}
static void
@@ -85,29 +84,28 @@ osinfo_install_config_param_get_property(GObject *object,
OsinfoInstallConfigParam *config_param =
OSINFO_INSTALL_CONFIG_PARAM (object);
- switch (property_id)
- {
- case PROP_NAME:
- {
- const gchar *name;
+ switch (property_id) {
+ case PROP_NAME:
+ {
+ const gchar *name;
- name = osinfo_install_config_param_get_name(config_param);
- g_value_set_string(value, name);
- break;
- }
- case PROP_POLICY:
- {
- OsinfoInstallConfigParamPolicy policy;
+ name = osinfo_install_config_param_get_name(config_param);
+ g_value_set_string(value, name);
+ break;
+ }
+ case PROP_POLICY:
+ {
+ OsinfoInstallConfigParamPolicy policy;
- policy = osinfo_install_config_param_get_policy(config_param);
- g_value_set_enum(value, policy);
- }
- break;
- default:
- /* We don't have any other property... */
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
- break;
- }
+ policy = osinfo_install_config_param_get_policy(config_param);
+ g_value_set_enum(value, policy);
+ break;
+ }
+ default:
+ /* We don't have any other property... */
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+ break;
+ }
}
--
1.8.0
More information about the virt-tools-list
mailing list