From 00e2c84eacf7192e08030699a632b3759a732422 Mon Sep 17 00:00:00 2001 From: nri Date: Thu, 10 Jul 2003 18:40:25 +0000 Subject: [PATCH] NRI : Merge from V1_2. --- src/Session/SALOME_Session_i.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Session/SALOME_Session_i.cxx b/src/Session/SALOME_Session_i.cxx index 4e2e5b5ef..026584560 100644 --- a/src/Session/SALOME_Session_i.cxx +++ b/src/Session/SALOME_Session_i.cxx @@ -68,11 +68,12 @@ SALOME_Session_i::SALOME_Session_i(int argc, char ** argv, CORBA::ORB_ptr orb, P Engines::Component_ptr SALOME_Session_i::GetVisuComponent() { MESSAGE("SALOME_Session_i::GetVisuGen"); - typedef Engines::Component_ptr VisuGen(CORBA::ORB_ptr,PortableServer::POA_ptr,QMutex*); + typedef Engines::Component_ptr VisuGen(CORBA::ORB_ptr,PortableServer::POA_ptr, + SALOME_NamingService*,QMutex*); OSD_SharedLibrary visuSharedLibrary("libVISUEngine.so"); if(visuSharedLibrary.DlOpen(OSD_RTLD_LAZY)) if(OSD_Function osdFun = visuSharedLibrary.DlSymb("GetVisuGen")) - return ((VisuGen (*)) osdFun)(_orb,_poa,&_GUIMutex); + return ((VisuGen (*)) osdFun)(_orb,_poa,_NS,&_GUIMutex); return Engines::Component::_nil(); } -- 2.39.2