diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-21 11:15:11 +0000 |
|---|---|---|
| committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-21 13:02:08 +0000 |
| commit | ef06ffea25f7d61483b980795321c272af13de04 (patch) | |
| tree | 4c236a15eaf1300bb22447e65572f8c2b07293a2 /src/splivarot.cpp | |
| parent | Move global functions into SPGradient methods. (diff) | |
| download | inkscape-ef06ffea25f7d61483b980795321c272af13de04.tar.gz inkscape-ef06ffea25f7d61483b980795321c272af13de04.zip | |
Move global functions into SPImage methods.
Diffstat (limited to 'src/splivarot.cpp')
| -rw-r--r-- | src/splivarot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp index 7a3971994..081e10da2 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -2559,7 +2559,7 @@ SPCurve* curve_for_item(SPItem *item) } else if (SP_IS_IMAGE(item)) { - curve = sp_image_get_curve(SP_IMAGE(item)); + curve = SP_IMAGE(item)->get_curve(); } return curve; // do not forget to unref the curve at some point! @@ -2584,7 +2584,7 @@ SPCurve* curve_for_item_before_LPE(SPItem *item) } else if (SP_IS_IMAGE(item)) { - curve = sp_image_get_curve(SP_IMAGE(item)); + curve = SP_IMAGE(item)->get_curve(); } return curve; // do not forget to unref the curve at some point! |
