summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 04e3142)
raw | patch | inline | side by side (parent: 04e3142)
author | Jon A. Cruz <jon@joncruz.org> | |
Sat, 3 Jul 2010 23:02:57 +0000 (16:02 -0700) | ||
committer | Jon A. Cruz <jon@joncruz.org> | |
Sat, 3 Jul 2010 23:02:57 +0000 (16:02 -0700) |
src/ui/dialog/swatches.cpp | patch | blob | history |
index 755a10519c2e1f02219a3af6065b6e265991df0f..70e3800a08814928c63c9e67c6b187b88adfda5f 100644 (file)
#include <errno.h>
#include <map>
+#include <algorithm>
#include <gtk/gtkdialog.h> //for GTK_RESPONSE* types
#include <gtk/gtkdnd.h>
}
if ( !newList.empty() ) {
+ std::reverse(newList.begin(), newList.end());
for ( std::vector<SPGradient*>::iterator it = newList.begin(); it != newList.end(); ++it )
{
SPGradient* grad = *it;