prepend instead of appending to list (patch written earlier).

2007-06-15  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/gfig/gfig-dobject.c: prepend instead of appending to
        list (patch written earlier).


svn path=/trunk/; revision=22786
This commit is contained in:
Mukund Sivaraman 2007-06-15 08:32:13 +00:00 committed by Mukund Sivaraman
parent 925f958caa
commit ad6bb7664f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-06-15 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-dobject.c: prepend instead of appending to
list (patch written earlier).
2007-06-14 Sven Neumann <sven@gimp.org>
* app/core/gimpdatafactory.c

View File

@ -686,11 +686,13 @@ copy_all_objs (GList *objs)
GfigObject *new_object = (GfigObject *) object->class->copyfunc (object);
gfig_style_copy (&new_object->style, &object->style, "Object");
new_all_objs = g_list_append (new_all_objs, new_object);
new_all_objs = g_list_prepend (new_all_objs, new_object);
objs = objs->next;
}
new_all_objs = g_list_reverse (new_all_objs);
return new_all_objs;
}