Code

convert almost all libnrtype to Geom::
[inkscape.git] / src / ui / dialog / whiteboard-connect.cpp
index 87bd9994467f961c853f8c8ad1212ee0ccb93597..ae291c03d74aa09e9a17662a4448e42c2899285c 100644 (file)
@@ -62,9 +62,8 @@ void WhiteboardConnectDialogImpl::present()
 void
 WhiteboardConnectDialogImpl::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();
 }
 
 void