[Xfce4-commits] [xfce/xfce4-power-manager] 02/02: Reformat code in xfpm_power_get_property
noreply at xfce.org
noreply at xfce.org
Sun Dec 14 16:16:44 CET 2014
This is an automated email from the git hooks/post-receive script.
hjudt pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit 08f744121484941e1f2657f140a6e1de51dca892
Author: Harald Judt <h.judt at gmx.at>
Date: Fri Aug 1 11:23:57 2014 +0200
Reformat code in xfpm_power_get_property
---
src/xfpm-power.c | 56 +++++++++++++++++++++++++++---------------------------
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/src/xfpm-power.c b/src/xfpm-power.c
index c980dbb..a898fe7 100644
--- a/src/xfpm-power.c
+++ b/src/xfpm-power.c
@@ -1180,36 +1180,36 @@ static void xfpm_power_get_property (GObject *object,
switch (prop_id)
{
- case PROP_ON_BATTERY:
- g_value_set_boolean (value, power->priv->on_battery);
- break;
- case PROP_AUTH_HIBERNATE:
- g_value_set_boolean (value, power->priv->auth_hibernate);
- break;
- case PROP_AUTH_SUSPEND:
- g_value_set_boolean (value, power->priv->auth_suspend);
- break;
- case PROP_CAN_SUSPEND:
- g_value_set_boolean (value, power->priv->can_suspend);
- break;
- case PROP_CAN_HIBERNATE:
- g_value_set_boolean (value, power->priv->can_hibernate);
- break;
- case PROP_HAS_LID:
- g_value_set_boolean (value, power->priv->lid_is_present);
- break;
- case PROP_PRESENTATION_MODE:
- g_value_set_boolean (value, power->priv->presentation_mode);
- break;
+ case PROP_ON_BATTERY:
+ g_value_set_boolean (value, power->priv->on_battery);
+ break;
+ case PROP_AUTH_HIBERNATE:
+ g_value_set_boolean (value, power->priv->auth_hibernate);
+ break;
+ case PROP_AUTH_SUSPEND:
+ g_value_set_boolean (value, power->priv->auth_suspend);
+ break;
+ case PROP_CAN_SUSPEND:
+ g_value_set_boolean (value, power->priv->can_suspend);
+ break;
+ case PROP_CAN_HIBERNATE:
+ g_value_set_boolean (value, power->priv->can_hibernate);
+ break;
+ case PROP_HAS_LID:
+ g_value_set_boolean (value, power->priv->lid_is_present);
+ break;
+ case PROP_PRESENTATION_MODE:
+ g_value_set_boolean (value, power->priv->presentation_mode);
+ break;
case PROP_ON_AC_BLANK:
- g_value_set_int (value, power->priv->on_ac_blank);
- break;
+ g_value_set_int (value, power->priv->on_ac_blank);
+ break;
case PROP_ON_BATTERY_BLANK:
- g_value_set_int (value, power->priv->on_battery_blank);
- break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
+ g_value_set_int (value, power->priv->on_battery_blank);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ break;
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list