Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9ffdfb7

Browse files
committedApr 26, 2019
Add missing /Transfer/ annotation
1 parent 2d67f3f commit 9ffdfb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.