diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-08-13 18:30:30 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2011-08-13 18:30:30 +0000 |
| commit | caa510445fc091c63e1ca0ff8f44f2e81ae0638d (patch) | |
| tree | fca330f29571cec93d02ef611d5e292b8e2fc035 /src/display/drawing-text.cpp | |
| parent | Do not leak cache objects in DrawingItem destructor (diff) | |
| download | inkscape-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-text.cpp')
| -rw-r--r-- | src/display/drawing-text.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/display/drawing-text.cpp b/src/display/drawing-text.cpp index 2f0881c49..21588cc4f 100644 --- a/src/display/drawing-text.cpp +++ b/src/display/drawing-text.cpp @@ -102,7 +102,7 @@ DrawingGlyphs::_updateItem(Geom::IntRect const &area, UpdateContext const &ctx, } DrawingItem * -DrawingGlyphs::_pickItem(Geom::Point const &p, double delta, bool /*sticky*/) +DrawingGlyphs::_pickItem(Geom::Point const &p, double delta, unsigned /*flags*/) { if (!_font || !_bbox) return NULL; @@ -248,9 +248,9 @@ DrawingText::_clipItem(DrawingContext &ct, Geom::IntRect const &area) } DrawingItem * -DrawingText::_pickItem(Geom::Point const &p, double delta, bool sticky) +DrawingText::_pickItem(Geom::Point const &p, double delta, unsigned flags) { - DrawingItem *picked = DrawingGroup::_pickItem(p, delta, sticky); + DrawingItem *picked = DrawingGroup::_pickItem(p, delta, flags); if (picked) return this; return NULL; } |
