From 999bbe744314ff4616271ce61a5bb57cf331e2bc Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 9 Aug 2017 21:27:17 +0200 Subject: Make sure to initialize fields in UI --- src/gui_gtk.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui_gtk.cc') 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; -- cgit v1.2.3-70-g09d2