summaryrefslogtreecommitdiffstats
path: root/ganv/Node.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ganv/Node.hpp')
-rw-r--r--ganv/Node.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ganv/Node.hpp b/ganv/Node.hpp
index 95c66a4..e075e73 100644
--- a/ganv/Node.hpp
+++ b/ganv/Node.hpp
@@ -103,7 +103,7 @@ private:
static void on_notify_bool(GObject* gobj,
GParamSpec* pspec,
gpointer signal) {
- gboolean value;
+ gboolean value = FALSE;
g_object_get(gobj, g_param_spec_get_name(pspec), &value, nullptr);
static_cast<sigc::signal<bool, gboolean>*>(signal)->emit(value);
}