summaryrefslogtreecommitdiff
path: root/src/gui_gtk.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-08-09 21:27:17 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-08-09 21:27:17 +0200
commit999bbe744314ff4616271ce61a5bb57cf331e2bc (patch)
tree3f7020fb9124f4bb15b26611d1536407a8e924a2 /src/gui_gtk.cc
parent32ea52d76984f93282f36aa445b2e0f70096538b (diff)
Make sure to initialize fields in UI
Diffstat (limited to 'src/gui_gtk.cc')
-rw-r--r--src/gui_gtk.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui_gtk.cc b/src/gui_gtk.cc
index 9b6addc..6913921 100644
--- a/src/gui_gtk.cc
+++ b/src/gui_gtk.cc
@@ -591,7 +591,8 @@ class GtkGuiMain : public virtual GuiMain, public GtkGuiWindow {
public:
GtkGuiMain(std::string const& title, uint32_t width, uint32_t height)
: title_(title), width_(width), height_(height), split_(0.5),
- config_(new GtkConfig()), menu_(nullptr), statusbar_(nullptr) {
+ content_(nullptr), config_(new GtkConfig()), menu_(nullptr),
+ statusbar_(nullptr) {
}
Looper* create_looper() override;