Code

C++fied SPDocument added
[inkscape.git] / src / sp-root.cpp
index bd935074dec47dfba5663dbf6a68aebcdf5348c5..72c0b6de9690f429e426fa57e9217ff96c54d0ef 100644 (file)
@@ -566,7 +566,7 @@ sp_root_modified(SPObject *object, guint flags)
 
     /* fixme: (Lauris) */
     if (!object->parent && (flags & SP_OBJECT_VIEWPORT_MODIFIED_FLAG)) {
-        sp_document_resized_signal_emit (SP_OBJECT_DOCUMENT(root), root->width.computed, root->height.computed);
+        SP_OBJECT_DOCUMENT(root)->resized_signal_emit (root->width.computed, root->height.computed);
     }
 }