stop creating an extranous vectors object.
2003-09-15 Sven Neumann <sven@gimp.org> * app/vectors/gimpvectors-import.c (gimp_vectors_import): stop creating an extranous vectors object.
This commit is contained in:

committed by
Sven Neumann

parent
d7ceae3df7
commit
9a6201ce06
@ -1,3 +1,8 @@
|
|||||||
|
2003-09-15 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/vectors/gimpvectors-import.c (gimp_vectors_import): stop
|
||||||
|
creating an extranous vectors object.
|
||||||
|
|
||||||
2003-09-14 Manish Singh <yosh@gimp.org>
|
2003-09-14 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* app/gui/gui.c: changed to a runtime check for gtk version.
|
* app/gui/gui.c: changed to a runtime check for gtk version.
|
||||||
|
@ -192,7 +192,7 @@ gimp_vectors_import (GimpImage *image,
|
|||||||
for (list = paths->data; list; list = list->next)
|
for (list = paths->data; list; list = list->next)
|
||||||
gimp_vectors_stroke_add (vectors, GIMP_STROKE (list->data));
|
gimp_vectors_stroke_add (vectors, GIMP_STROKE (list->data));
|
||||||
|
|
||||||
if (!merge)
|
if (!merge && paths->next)
|
||||||
{
|
{
|
||||||
gimp_image_add_vectors (image, vectors, -1);
|
gimp_image_add_vectors (image, vectors, -1);
|
||||||
vectors = gimp_vectors_new (image, _("Imported Path"));
|
vectors = gimp_vectors_new (image, _("Imported Path"));
|
||||||
|
Reference in New Issue
Block a user