summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/selected-style.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-09-27 08:51:26 +0000
committertavmjong-free <tavmjong@free.fr>2016-09-27 08:51:26 +0000
commitf9ec83dbb254701f39d3b7a30c0bacb5eaae9ee9 (patch)
tree418ef3aa31bf3a219fed44b6bb13a9bf04f9c6ec /src/ui/widget/selected-style.cpp
parentRemove unused variable. (diff)
downloadinkscape-f9ec83dbb254701f39d3b7a30c0bacb5eaae9ee9.tar.gz
inkscape-f9ec83dbb254701f39d3b7a30c0bacb5eaae9ee9.zip
Rename <mesh> to <meshgradient> per SVG 2 CR specificiation.
Note: <mesh> has been repurposed to be a special shape that tightly wraps a mesh gradient. (bzr r15137)
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
-rw-r--r--src/ui/widget/selected-style.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp
index fd83a62c9..301a3b2e0 100644
--- a/src/ui/widget/selected-style.cpp
+++ b/src/ui/widget/selected-style.cpp
@@ -25,7 +25,7 @@
#include "sp-namedview.h"
#include "sp-linear-gradient.h"
#include "sp-radial-gradient.h"
-#include "sp-mesh.h"
+#include "sp-mesh-gradient.h"
#include "sp-pattern.h"
#include "ui/dialog/dialog-manager.h"
#include "ui/dialog/fill-and-stroke.h"
@@ -1010,7 +1010,7 @@ SelectedStyle::update()
place->set_tooltip_text(__rgradient[i]);
_mode[i] = SS_RGRADIENT;
#ifdef WITH_MESH
- } else if (SP_IS_MESH(server)) {
+ } else if (SP_IS_MESHGRADIENT(server)) {
SPGradient *vector = SP_GRADIENT(server)->getVector();
sp_gradient_image_set_gradient(SP_GRADIENT_IMAGE(_gradient_preview_m[i]), vector);
place->add(_gradient_box_m[i]);