allow to optionally export all paths from an image into a single SVG file.
2003-09-11 Sven Neumann <sven@gimp.org> * app/vectors/gimpvectors-export.[ch]: allow to optionally export all paths from an image into a single SVG file. * app/gui/vectors-commands.c: changed accordingly.
This commit is contained in:

committed by
Sven Neumann

parent
3e96247853
commit
2ae38423af
@ -248,7 +248,8 @@ vectors_export_cmd_callback (GtkWidget *widget,
|
|||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
return_if_no_vectors (gimage, active_vectors, data);
|
return_if_no_vectors (gimage, active_vectors, data);
|
||||||
|
|
||||||
if (! gimp_vectors_export (active_vectors, "path-export.svg", &error))
|
if (! gimp_vectors_export (gimage, active_vectors,
|
||||||
|
"path-export.svg", &error))
|
||||||
{
|
{
|
||||||
g_message (error->message);
|
g_message (error->message);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
|
@ -248,7 +248,8 @@ vectors_export_cmd_callback (GtkWidget *widget,
|
|||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
return_if_no_vectors (gimage, active_vectors, data);
|
return_if_no_vectors (gimage, active_vectors, data);
|
||||||
|
|
||||||
if (! gimp_vectors_export (active_vectors, "path-export.svg", &error))
|
if (! gimp_vectors_export (gimage, active_vectors,
|
||||||
|
"path-export.svg", &error))
|
||||||
{
|
{
|
||||||
g_message (error->message);
|
g_message (error->message);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
|
Reference in New Issue
Block a user