[Xfce4-commits] [xfce/xfce4-power-manager] 01/02: Reformat code in xfpm_power_set_property

noreply at xfce.org noreply at xfce.org
Sun Dec 14 16:16:43 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 177a0bb5b6ca4ef9ac59fc9fada3bee45f6c869a
Author: Harald Judt <h.judt at gmx.at>
Date:   Fri Aug 1 11:14:14 2014 +0200

    Reformat code in xfpm_power_set_property
---
 src/xfpm-power.c |   30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/xfpm-power.c b/src/xfpm-power.c
index ac5850b..c980dbb 100644
--- a/src/xfpm-power.c
+++ b/src/xfpm-power.c
@@ -1223,22 +1223,22 @@ static void xfpm_power_set_property (GObject *object,
 
     switch (prop_id)
     {
-	case PROP_PRESENTATION_MODE:
-	    xfpm_power_change_presentation_mode (power, g_value_get_boolean (value));
-	    break;
+    case PROP_PRESENTATION_MODE:
+        xfpm_power_change_presentation_mode (power, g_value_get_boolean (value));
+        break;
     case PROP_ON_AC_BLANK:
-          on_ac_blank = g_value_get_int (value);
-          power->priv->on_ac_blank = on_ac_blank;
-          xfpm_update_blank_time (power);
-          break;
-      case PROP_ON_BATTERY_BLANK:
-          on_battery_blank = g_value_get_int (value);
-          power->priv->on_battery_blank = on_battery_blank;
-          xfpm_update_blank_time (power);
-          break;
-        default:
-            G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-            break;
+        on_ac_blank = g_value_get_int (value);
+        power->priv->on_ac_blank = on_ac_blank;
+        xfpm_update_blank_time (power);
+        break;
+    case PROP_ON_BATTERY_BLANK:
+        on_battery_blank = g_value_get_int (value);
+        power->priv->on_battery_blank = on_battery_blank;
+        xfpm_update_blank_time (power);
+        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