From: vsr Date: Tue, 30 Jan 2007 11:14:04 +0000 (+0000) Subject: Remove "Factory" SIP keyword to avoid unexpected behaviour when storing Selection... X-Git-Tag: V3_2_5pre1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=34543664ce0114e9b9574fdfc47510c31e7199af;p=modules%2Fgui.git Remove "Factory" SIP keyword to avoid unexpected behaviour when storing Selection objects in the variables --- diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip index f73f7b0ea..226384250 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip @@ -84,7 +84,7 @@ public: static QWidget* getMainFrame(); static QMenuBar* getMainMenuBar(); static QPopupMenu* getPopupMenu( const MenuName ); - static SALOME_Selection* getSelection() /Factory/; + static SALOME_Selection* getSelection(); static int getStudyId(); static void putInfo( const QString&, int = 0 ); static const QString getActiveComponent(); diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip b/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip index c550e2409..68e3bfcc1 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip @@ -84,7 +84,7 @@ public: static QWidget* getMainFrame() /ReleaseGIL/ ; static QMenuBar* getMainMenuBar() /ReleaseGIL/ ; static QPopupMenu* getPopupMenu( const MenuName ) /ReleaseGIL/ ; - static SALOME_Selection* getSelection() /Factory,ReleaseGIL/ ; + static SALOME_Selection* getSelection() /ReleaseGIL/ ; static int getStudyId() /ReleaseGIL/ ; static void putInfo( const QString&, const int = 0 ) /ReleaseGIL/ ; static const QString getActiveComponent() /ReleaseGIL/ ;