[gnome-system-monitor] Initialize all LoadGraph and OptionGroup members.
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Initialize all LoadGraph and OptionGroup members.
- Date: Sat, 3 Jan 2015 14:00:30 +0000 (UTC)
commit 4639213ae75c86d824790fd060420902dc8a4491
Author: BenoƮt Dejean <bdejean gmail com>
Date: Mon Apr 28 11:34:12 2014 +0200
Initialize all LoadGraph and OptionGroup members.
https://bugzilla.gnome.org/show_bug.cgi?id=742070
src/argv.cpp | 1 +
src/load-graph.cpp | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/argv.cpp b/src/argv.cpp
index 0b36965..a82d790 100644
--- a/src/argv.cpp
+++ b/src/argv.cpp
@@ -10,6 +10,7 @@ namespace procman
{
OptionGroup::OptionGroup()
: Glib::OptionGroup("", ""),
+ show_system_tab(false),
show_processes_tab(false),
show_resources_tab(false),
show_file_systems_tab(false),
diff --git a/src/load-graph.cpp b/src/load-graph.cpp
index af2eb78..21c7142 100644
--- a/src/load-graph.cpp
+++ b/src/load-graph.cpp
@@ -697,13 +697,18 @@ LoadGraph::LoadGraph(guint type)
real_draw_height(0),
graph_delx(0.0),
graph_buffer_offset(0),
+ colors(),
+ data_block(),
main_widget(NULL),
disp(NULL),
background(NULL),
timer_index(0),
draw(FALSE),
+ labels(),
mem_color_picker(NULL),
- swap_color_picker(NULL)
+ swap_color_picker(NULL),
+ cpu(),
+ net()
{
LoadGraph * const graph = this;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]