[gnome-control-center] power: remove unneeded call



commit eb94d06c9063b4e660b3d21f226845a1d877d965
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Apr 2 11:03:04 2016 -0700

    power: remove unneeded call
    
    This function is already called from add_suspend_and_power_off_section()
    a few lines above.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764508

 panels/power/cc-power-panel.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index e631e0b..dcc6408 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -2427,7 +2427,6 @@ cc_power_panel_init (CcPowerPanel *self)
   priv->boxes = g_list_reverse (priv->boxes);
 
   set_ac_battery_ui_mode (self);
-  update_automatic_suspend_label (self);
 
   /* populate batteries */
   g_signal_connect (priv->up_client, "device-added", G_CALLBACK (up_client_device_added), self);


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