summaryrefslogtreecommitdiffstats
path: root/SwapMeter.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 /SwapMeter.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 'SwapMeter.c')
-rw-r--r--SwapMeter.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/SwapMeter.c b/SwapMeter.c
index ff229d3e..6bdf612c 100644
--- a/SwapMeter.c
+++ b/SwapMeter.c
@@ -66,7 +66,6 @@ MeterClass SwapMeter_class = {
},
.setValues = SwapMeter_setValues,
.defaultMode = BAR_METERMODE,
- .items = 1,
.total = 100.0,
.attributes = SwapMeter_attributes,
.name = "Swap",

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