Code

Add option to align & distribute dialog to treat the selection as a group (closes...
[inkscape.git] / src / ui / dialog / whiteboard-sharewithchat.cpp
index 8d33328bab90c510852869b809b063f02ae03144..b2b913de06e3981bc0dff34a23c6c032597e8130 100644 (file)
@@ -60,8 +60,8 @@ WhiteboardShareWithChatroomDialogImpl::~WhiteboardShareWithChatroomDialogImpl()
 void
 WhiteboardShareWithChatroomDialogImpl::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();
 
 }