index a8cdba61e973cfb7129a8e216bd88c04cbfa5e16..883370aec00d63e0f5531794810be3d37a1ab5ff 100644 (file)
(ptr->_preview).setRgba32 (rgba);
if (ptr->_undo && SP_ACTIVE_DESKTOP)
- sp_document_done(SP_DT_DOCUMENT(SP_ACTIVE_DESKTOP));
+ sp_document_done(sp_desktop_document(SP_ACTIVE_DESKTOP));
ptr->on_changed (rgba);
ptr->_changed_signal.emit (rgba);