summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/fill-and-stroke.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-06-27 05:41:53 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-06-27 05:41:53 +0000
commit6f008746350aab3d895a7905e1dd036a9b615a94 (patch)
tree736226313250bc53a193b4f4cf516f6909efcc8e /src/ui/dialog/fill-and-stroke.cpp
parentfix issue introduced in r14229 (diff)
downloadinkscape-6f008746350aab3d895a7905e1dd036a9b615a94.tar.gz
inkscape-6f008746350aab3d895a7905e1dd036a9b615a94.zip
switch SPStyle to using SPFilterReference for filters; sp_style_new now requires an SPDocument; SPURIReference and SPFilterReference have an alternative constructor taking an owner_document instead of owner object
(bzr r3116)
Diffstat (limited to 'src/ui/dialog/fill-and-stroke.cpp')
-rw-r--r--src/ui/dialog/fill-and-stroke.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/fill-and-stroke.cpp b/src/ui/dialog/fill-and-stroke.cpp
index 2967cf151..fdcfc7636 100644
--- a/src/ui/dialog/fill-and-stroke.cpp
+++ b/src/ui/dialog/fill-and-stroke.cpp
@@ -239,7 +239,7 @@ FillAndStroke::selectionChanged(Inkscape::Application *inkscape,
_blocked = true;
// create temporary style
- SPStyle *query = sp_style_new ();
+ SPStyle *query = sp_style_new (SP_ACTIVE_DOCUMENT);
// query style from desktop into it. This returns a result flag and fills query with the style of subselection, if any, or selection
int result = sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_MASTEROPACITY);