From 34543664ce0114e9b9574fdfc47510c31e7199af Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 30 Jan 2007 11:14:04 +0000 Subject: [PATCH] Remove "Factory" SIP keyword to avoid unexpected behaviour when storing Selection objects in the variables --- src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip | 2 +- src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/ ; -- 2.39.2