summaryrefslogtreecommitdiffstats
path: root/src/sp-root.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-root.cpp')
-rw-r--r--src/sp-root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-root.cpp b/src/sp-root.cpp
index 61b5fda5b..5b0bf4cde 100644
--- a/src/sp-root.cpp
+++ b/src/sp-root.cpp
@@ -567,7 +567,7 @@ sp_root_modified(SPObject *object, guint flags)
/* fixme: (Lauris) */
if (!object->parent && (flags & SP_OBJECT_VIEWPORT_MODIFIED_FLAG)) {
- SP_OBJECT_DOCUMENT(root)->emitResizedSignal(root->width.computed, root->height.computed);
+ root->document->emitResizedSignal(root->width.computed, root->height.computed);
}
}