[gnome-system-monitor] Initialize all SmoothRefresh members.
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Initialize all SmoothRefresh members.
- Date: Sat, 3 Jan 2015 14:00:15 +0000 (UTC)
commit b3e13fb979ad7a631650ad1cb33a408b4fae4f6e
Author: BenoƮt Dejean <bdejean gmail com>
Date: Wed Apr 23 12:33:13 2014 +0200
Initialize all SmoothRefresh members.
https://bugzilla.gnome.org/show_bug.cgi?id=742070
src/smooth_refresh.cpp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/smooth_refresh.cpp b/src/smooth_refresh.cpp
index 2a233ca..1ed8a82 100644
--- a/src/smooth_refresh.cpp
+++ b/src/smooth_refresh.cpp
@@ -60,7 +60,13 @@ void SmoothRefresh::load_settings_value(const gchar *key)
SmoothRefresh::SmoothRefresh(GSettings *a_settings)
:
- settings(a_settings)
+ settings(a_settings),
+ active(false),
+ connection(0),
+ interval(0),
+ last_pcpu(0),
+ last_total_time(0ULL),
+ last_cpu_time(0ULL)
{
this->connection = g_signal_connect(G_OBJECT(settings),
"changed::smooth-refresh",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]