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 2d67f3f commit 175426e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 175426e

Please sign in to comment.