Skip to content

Commit ebab2e1

Browse files
committed
Add missing /Transfer/ annotation
1 parent 3c8a9e6 commit ebab2e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/core/auto_generated/symbology/qgsfillsymbollayer.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ used if the gradient color type is set to ColorRamp.
238238
.. seealso:: :py:func:`gradientColorType`
239239
%End
240240

241-
void setColorRamp( QgsColorRamp *ramp );
241+
void setColorRamp( QgsColorRamp *ramp /Transfer/ );
242242
%Docstring
243243
Sets the color ramp used for the gradient fill. This is only
244244
used if the gradient color type is set to ColorRamp.

src/core/symbology/qgsfillsymbollayer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class CORE_EXPORT QgsGradientFillSymbolLayer : public QgsFillSymbolLayer
250250
* \see colorRamp()
251251
* \see setGradientColorType()
252252
*/
253-
void setColorRamp( QgsColorRamp *ramp );
253+
void setColorRamp( QgsColorRamp *ramp SIP_TRANSFER );
254254

255255
//! Color for endpoint of gradient, only used if the gradient color type is set to SimpleTwoColor
256256
QColor color2() const { return mColor2; }

0 commit comments

Comments
 (0)