Skip to content

Commit

Permalink
Add missing /Transfer/ annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 26, 2019
1 parent 3c8a9e6 commit ebab2e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -238,7 +238,7 @@ used if the gradient color type is set to ColorRamp.
.. seealso:: :py:func:`gradientColorType`
%End

void setColorRamp( QgsColorRamp *ramp );
void setColorRamp( QgsColorRamp *ramp /Transfer/ );
%Docstring
Sets the color ramp used for the gradient fill. This is only
used if the gradient color type is set to ColorRamp.
Expand Down
2 changes: 1 addition & 1 deletion src/core/symbology/qgsfillsymbollayer.h
Expand Up @@ -250,7 +250,7 @@ class CORE_EXPORT QgsGradientFillSymbolLayer : public QgsFillSymbolLayer
* \see colorRamp()
* \see setGradientColorType()
*/
void setColorRamp( QgsColorRamp *ramp );
void setColorRamp( QgsColorRamp *ramp SIP_TRANSFER );

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

0 comments on commit ebab2e1

Please sign in to comment.