[Xfce4-commits] [panel-plugins/xfce4-battery-plugin] 01/01: we dont readd the timeout, so dont remove the previous one
noreply at xfce.org
noreply at xfce.org
Wed Dec 28 21:29:15 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 bb6716d63bfec013f46b194669e1950eaf26362c
Author: Landry Breuil <landry at xfce.org>
Date: Wed Dec 28 21:29:07 2016 +0100
we dont readd the timeout, so dont remove the previous one
---
panel-plugin/battery.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 7313a9e..0013fa5 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -785,7 +785,6 @@ battmon_set_mode (XfcePanelPlugin *plugin, XfcePanelPluginMode mode,
GtkOrientation orientation;
DBG("set_mode(%d)", mode);
- if (battmon->timeoutid) g_source_remove(battmon->timeoutid);
orientation =
(mode != XFCE_PANEL_PLUGIN_MODE_VERTICAL) ?
GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list