[Xfce4-commits] [panel-plugins/xfce4-battery-plugin] 04/04: Changing mode shouldnt setup a 1s timeout calling update_apm_status()..

noreply at xfce.org noreply at xfce.org
Wed Dec 28 21:25:59 CET 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-battery-plugin.

commit 9366e3ac5b1d98869f2d5c0bf81e959d6086214b
Author: Landry Breuil <landry at xfce.org>
Date:   Wed Dec 28 21:25:01 2016 +0100

    Changing mode shouldnt setup a 1s timeout calling update_apm_status()..
---
 panel-plugin/battery.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 957745b..7313a9e 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -801,7 +801,6 @@ battmon_set_mode (XfcePanelPlugin *plugin, XfcePanelPluginMode mode,
     battmon_set_labels_orientation(battmon, orientation);
     battmon_set_size(plugin, xfce_panel_plugin_get_size (plugin), battmon);
     update_apm_status( battmon );
-    battmon->timeoutid = g_timeout_add(1 * 1024, (GSourceFunc) update_apm_status, battmon);
     xfce_panel_plugin_set_small (plugin, (mode != XFCE_PANEL_PLUGIN_MODE_DESKBAR));
 
     return TRUE;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list