diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2016-05-21 09:58:25 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2016-05-21 09:58:25 +0000 |
| commit | 9e9ce2c30be9d6af144ff07f69c15c508d84e776 (patch) | |
| tree | 477b56572c6dbde8fbcd1480c862d3a66b7f232a /src/widgets/gradient-vector.cpp | |
| parent | Adjust some thresholds for finding intersections in elliptical arcs (diff) | |
| download | inkscape-9e9ce2c30be9d6af144ff07f69c15c508d84e776.tar.gz inkscape-9e9ce2c30be9d6af144ff07f69c15c508d84e776.zip | |
Fix regression: restore order in resources (e.g. pattern list)
(bzr r14907)
Diffstat (limited to 'src/widgets/gradient-vector.cpp')
| -rw-r--r-- | src/widgets/gradient-vector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/gradient-vector.cpp b/src/widgets/gradient-vector.cpp index 3aa44c90a..97e65141f 100644 --- a/src/widgets/gradient-vector.cpp +++ b/src/widgets/gradient-vector.cpp @@ -298,8 +298,8 @@ static void sp_gvs_rebuild_gui_full(SPGradientVectorSelector *gvs) /* Pick up all gradients with vectors */ GSList *gl = NULL; if (gvs->gr) { - std::set<SPObject *> gradients = gvs->gr->document->getResourceList("gradient"); - for (std::set<SPObject *>::const_iterator it = gradients.begin(); it != gradients.end(); ++it) { + std::vector<SPObject *> gradients = gvs->gr->document->getResourceList("gradient"); + for (std::vector<SPObject *>::const_iterator it = gradients.begin(); it != gradients.end(); ++it) { SPGradient* grad = SP_GRADIENT(*it); if ( grad->hasStops() && (grad->isSwatch() == gvs->swatched) ) { gl = g_slist_prepend(gl, *it); |
