Skip to content

Commit

Permalink
add missing SIP_DEPRECATED annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Oct 24, 2018
1 parent c41a5d0 commit 1bcd306
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgsmaptopixel.sip.in
Expand Up @@ -113,7 +113,7 @@ Transform device coordinates to map (world) coordinates
:return: QgsPointXY in map coorndiates
%End

QgsPointXY toMapPoint( double x, double y ) const;
QgsPointXY toMapPoint( double x, double y ) const /Deprecated/;
%Docstring
Transform device coordinates to map (world) coordinates

Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsmaptopixel.h
Expand Up @@ -134,7 +134,7 @@ class CORE_EXPORT QgsMapToPixel
* Transform device coordinates to map (world) coordinates
* \deprecated since QGIS 3.4 use toMapCoordinates instead
*/
Q_DECL_DEPRECATED QgsPointXY toMapPoint( double x, double y ) const;
Q_DECL_DEPRECATED QgsPointXY toMapPoint( double x, double y ) const SIP_DEPRECATED;

/**
* Set map units per pixel
Expand Down

0 comments on commit 1bcd306

Please sign in to comment.