mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Replace deprecated sipTransferBreak with sipTransferTo
This commit is contained in:
parent
d9db0d5159
commit
7e93859dfd
@ -54,7 +54,7 @@ if connection would fail, the interface is not inserted and ``False`` is returne
|
||||
// if insertion failed transfer ownership back to python
|
||||
PyObject *o = sipGetPyObject( a1, sipType_QgsRasterInterface );
|
||||
if ( o )
|
||||
sipTransferBreak( o );
|
||||
sipTransferTo( o, NULL );
|
||||
}
|
||||
%End
|
||||
|
||||
|
@ -83,7 +83,7 @@ class CORE_EXPORT QgsRasterPipe
|
||||
// if insertion failed transfer ownership back to python
|
||||
PyObject *o = sipGetPyObject( a1, sipType_QgsRasterInterface );
|
||||
if ( o )
|
||||
sipTransferBreak( o );
|
||||
sipTransferTo( o, NULL );
|
||||
}
|
||||
% End
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user