diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-05-28 14:38:37 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-05-28 14:38:37 +0000 |
| commit | 6c9378a68e4d3a37a9122e2cc68e3302701b1e8d (patch) | |
| tree | baaa4930923a8ab5a5364311cd363433ffbb6aa8 /src/display/curve.cpp | |
| parent | Option to keep selection when changing layers (diff) | |
| download | inkscape-6c9378a68e4d3a37a9122e2cc68e3302701b1e8d.tar.gz inkscape-6c9378a68e4d3a37a9122e2cc68e3302701b1e8d.zip | |
break apart faster: prepend to list instead of append, add objects to selection wholesale instead of one by one
(bzr r1038)
Diffstat (limited to 'src/display/curve.cpp')
| -rw-r--r-- | src/display/curve.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/display/curve.cpp b/src/display/curve.cpp index 3e491a2b8..bbbba09f0 100644 --- a/src/display/curve.cpp +++ b/src/display/curve.cpp @@ -254,12 +254,7 @@ sp_curve_split(SPCurve const *curve) new_curve->substart = 0; new_curve->closed = (new_curve->_bpath->code == NR_MOVETO); new_curve->hascpt = (new_curve->_bpath->code == NR_MOVETO_OPEN); - l = g_slist_append(l, new_curve); - /** \todo - * effic: Use g_slist_prepend instead. Either work backwards from - * the end of curve, or work forwards as at present but do - * g_slist_reverse before returning. - */ + l = g_slist_prepend(l, new_curve); p += i; } |
