summaryrefslogtreecommitdiffstats
path: root/src/gradient-context.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-07-13 20:16:51 +0000
committerTed Gould <ted@gould.cx>2010-07-13 20:16:51 +0000
commitef2d72d29fce61231bdd7888ab8330503158e9d6 (patch)
tree4685bfddef010181fdd87fc182016b994f2b69d9 /src/gradient-context.cpp
parentPulling in a more recent trunk (diff)
parentTranslations. Romanian nsh file update. (diff)
downloadinkscape-ef2d72d29fce61231bdd7888ab8330503158e9d6.tar.gz
inkscape-ef2d72d29fce61231bdd7888ab8330503158e9d6.zip
Upgrading to trunk
(bzr r8254.1.57)
Diffstat (limited to 'src/gradient-context.cpp')
-rw-r--r--src/gradient-context.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gradient-context.cpp b/src/gradient-context.cpp
index ddb153ffd..bf1566b26 100644
--- a/src/gradient-context.cpp
+++ b/src/gradient-context.cpp
@@ -1,5 +1,3 @@
-#define __SP_GRADIENT_CONTEXT_C__
-
/*
* Gradient drawing and editing tool
*
@@ -381,7 +379,7 @@ sp_gradient_context_add_stops_between_selected_stops (SPGradientContext *rc)
if (SP_IS_GRADIENT (parent)) {
doc = SP_OBJECT_DOCUMENT (parent);
sp_vector_add_stop (SP_GRADIENT (parent), this_stop, next_stop, offset);
- sp_gradient_ensure_vector (SP_GRADIENT (parent));
+ SP_GRADIENT(parent)->ensureVector();
}
}