Commit b3e13fb9 authored by Ben's avatar Ben Committed by Robert Roth

Initialize all SmoothRefresh members.

https://bugzilla.gnome.org/show_bug.cgi?id=742070
parent 9dccfc87
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment