summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-03-09 10:12:09 +0000
committerJon A. Cruz <jon@joncruz.org>2010-03-09 10:12:09 +0000
commitbe18b3457f1b5c1205cdd45eae0a8a19b9c3e7b3 (patch)
tree30c0b9ea788d40e0011f36a06d776eef258fda22 /src/desktop-style.cpp
parentFixed the Win32 uninstaller. (diff)
downloadinkscape-be18b3457f1b5c1205cdd45eae0a8a19b9c3e7b3.tar.gz
inkscape-be18b3457f1b5c1205cdd45eae0a8a19b9c3e7b3.zip
Initial F&S dialog setting of swatch colors.
(bzr r9169)
Diffstat (limited to 'src/desktop-style.cpp')
-rw-r--r--src/desktop-style.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp
index 2afcd6109..f3b1b833d 100644
--- a/src/desktop-style.cpp
+++ b/src/desktop-style.cpp
@@ -475,8 +475,8 @@ objects_query_fillstroke (GSList *objects, SPStyle *style_res, bool const isfill
if (!SP_IS_LINEARGRADIENT(server))
return QUERY_STYLE_MULTIPLE_DIFFERENT; // different kind of server
- SPGradient *vector = sp_gradient_get_vector ( SP_GRADIENT (server), FALSE );
- SPGradient *vector_res = sp_gradient_get_vector ( SP_GRADIENT (server_res), FALSE );
+ SPGradient *vector = SP_GRADIENT(server)->getVector();
+ SPGradient *vector_res = SP_GRADIENT(server_res)->getVector();
if (vector_res != vector)
return QUERY_STYLE_MULTIPLE_DIFFERENT; // different gradient vectors
@@ -485,8 +485,8 @@ objects_query_fillstroke (GSList *objects, SPStyle *style_res, bool const isfill
if (!SP_IS_RADIALGRADIENT(server))
return QUERY_STYLE_MULTIPLE_DIFFERENT; // different kind of server
- SPGradient *vector = sp_gradient_get_vector ( SP_GRADIENT (server), FALSE );
- SPGradient *vector_res = sp_gradient_get_vector ( SP_GRADIENT (server_res), FALSE );
+ SPGradient *vector = SP_GRADIENT(server)->getVector();
+ SPGradient *vector_res = SP_GRADIENT(server_res)->getVector();
if (vector_res != vector)
return QUERY_STYLE_MULTIPLE_DIFFERENT; // different gradient vectors