diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-05-21 22:13:06 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-05-21 22:13:06 +0000 |
| commit | eef0bdfef0bdbaa00c17067c601061d905974096 (patch) | |
| tree | 737c7efb116ec01e23e8d21ae9f9acc92923c708 /src/widgets/gradient-toolbar.cpp | |
| parent | Fixing undo thing (diff) | |
| parent | Remove duplicated code (diff) | |
| download | inkscape-eef0bdfef0bdbaa00c17067c601061d905974096.tar.gz inkscape-eef0bdfef0bdbaa00c17067c601061d905974096.zip | |
update to trunk
(bzr r14865.1.6)
Diffstat (limited to 'src/widgets/gradient-toolbar.cpp')
| -rw-r--r-- | src/widgets/gradient-toolbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/gradient-toolbar.cpp b/src/widgets/gradient-toolbar.cpp index 858aa05db..a44e9962e 100644 --- a/src/widgets/gradient-toolbar.cpp +++ b/src/widgets/gradient-toolbar.cpp @@ -140,8 +140,8 @@ gboolean gr_vector_list(GtkWidget *combo_box, SPDesktop *desktop, bool selection gtk_list_store_clear(store); std::vector<SPObject *> gl; - std::set<SPObject *> gradients = document->getResourceList( "gradient" ); - for (std::set<SPObject *>::const_iterator it = gradients.begin(); it != gradients.end(); ++it) { + std::vector<SPObject *> gradients = 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->isSolid() ) { gl.push_back(*it); |
