Skip to content
Permalink
Browse files

Add missing /Transfer/ annotation

  • Loading branch information
nyalldawson committed Apr 26, 2019
1 parent 9637753 commit de6631b382d945fa7ce3c571d4e814a6d6fe1dfa
@@ -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.
@@ -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; }

0 comments on commit de6631b

Please sign in to comment.
You can’t perform that action at this time.