[gnome-settings-daemon] power: Don't fall through the switch statement when shutting down



commit e1e652972e9dc47839fd5f3cbfad3dfbeabc29c5
Author: Richard Hughes <richard hughsie com>
Date:   Fri Sep 16 08:58:11 2011 +0100

    power: Don't fall through the switch statement when shutting down
    
    Resolves https://bugzilla.gnome.org/show_bug.cgi?id=659202

 plugins/power/gsd-power-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 1d1e6ef..99506f3 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2049,6 +2049,7 @@ do_power_action_type (GsdPowerManager *manager,
                  * hibernate is not available and is marginally better
                  * than just powering down the computer mid-write */
                 consolekit_stop ();
+                break;
         case GSD_POWER_ACTION_BLANK:
                 ret = gnome_rr_screen_set_dpms_mode (manager->priv->x11_screen,
                                                      GNOME_RR_DPMS_OFF,



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