summaryrefslogtreecommitdiffstats
path: root/BatteryMeter.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-01-16 01:40:47 -0200
committerHisham Muhammad <hisham@gobolinux.org>2014-01-16 01:40:47 -0200
commitc1e0f6e17c16236d68ed26a5e413e9234293f4d9 (patch)
tree0b233e4971c581a589fbf42f87efa326899ceb8e /BatteryMeter.c
parent4256c23d84689a12d182937eae9bb13673867370 (diff)
BUGFIX: Fix crash when adding meters and toggling detailed CPU time.
See https://bugzilla.redhat.com/show_bug.cgi?id=987805 for details. (thanks to Dawid Gajownik for the detailed analysis!)
Diffstat (limited to 'BatteryMeter.c')
-rw-r--r--BatteryMeter.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/BatteryMeter.c b/BatteryMeter.c
index d2a4049d..362756c0 100644
--- a/BatteryMeter.c
+++ b/BatteryMeter.c
@@ -335,7 +335,6 @@ MeterClass BatteryMeter_class = {
},
.setValues = BatteryMeter_setValues,
.defaultMode = TEXT_METERMODE,
- .items = 1,
.total = 100.0,
.attributes = BatteryMeter_attributes,
.name = "Battery",

© 2014-2024 Faster IT GmbH | imprint | privacy policy