Code

Add option to align & distribute dialog to treat the selection as a group (closes...
[inkscape.git] / src / ui / dialog / whiteboard-sharewithuser.cpp
index ea7720f7dd7827e86461841c0951e727ba490fe6..ebe91f0f3289b25bc95743cb28f91a532858544e 100644 (file)
@@ -61,8 +61,8 @@ WhiteboardShareWithUserDialogImpl::~WhiteboardShareWithUserDialogImpl()
 void
 WhiteboardShareWithUserDialogImpl::setSessionManager()
 {
-       this->_desktop = SP_ACTIVE_DESKTOP;
-       this->_sm = SP_ACTIVE_DESKTOP->whiteboard_session_manager();
+        this->_desktop = this->getDesktop();
+       this->_sm = this->_desktop->whiteboard_session_manager();
 
 }