summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-image.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-08-13 18:30:30 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-08-13 18:30:30 +0000
commitcaa510445fc091c63e1ca0ff8f44f2e81ae0638d (patch)
treefca330f29571cec93d02ef611d5e292b8e2fc035 /src/display/drawing-image.cpp
parentDo not leak cache objects in DrawingItem destructor (diff)
downloadinkscape-caa510445fc091c63e1ca0ff8f44f2e81ae0638d.tar.gz
inkscape-caa510445fc091c63e1ca0ff8f44f2e81ae0638d.zip
More generic handling of child type in DrawingItem.
Fix clip object selection bug (LP #365458). Fixed bugs: - https://launchpad.net/bugs/365458 (bzr r10347.1.31)
Diffstat (limited to 'src/display/drawing-image.cpp')
-rw-r--r--src/display/drawing-image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/drawing-image.cpp b/src/display/drawing-image.cpp
index 64601354d..074393ab5 100644
--- a/src/display/drawing-image.cpp
+++ b/src/display/drawing-image.cpp
@@ -196,7 +196,7 @@ distance_to_segment (Geom::Point const &p, Geom::Point const &a1, Geom::Point co
}
DrawingItem *
-DrawingImage::_pickItem(Geom::Point const &p, double delta, bool /*sticky*/)
+DrawingImage::_pickItem(Geom::Point const &p, double delta, unsigned /*sticky*/)
{
if (!_pixbuf) return NULL;