summaryrefslogtreecommitdiffstats
path: root/src/Canvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Canvas.cpp')
-rw-r--r--src/Canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index 9de1a43..ca7a9ad 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -1366,7 +1366,7 @@ Canvas::Canvas(double width, double height)
{
g_object_set_qdata(G_OBJECT(impl()->_gcanvas), wrapper_key(), this);
- g_signal_connect_after(gobj(), "event",
+ g_signal_connect_after(impl()->root(), "event",
G_CALLBACK(on_event_after), this);
g_signal_connect(gobj(), "connect",
G_CALLBACK(on_connect), this);