Commit 20725453 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

don't return an execution error if the user cancelled the dialog.

2005-07-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/poppler.c (run): don't return an execution error
	if the user cancelled the dialog.
parent 6ba98881
2005-07-20 Michael Natterer <mitch@gimp.org>
* plug-ins/common/poppler.c (run): don't return an execution error
if the user cancelled the dialog.
2005-07-20 Sven Neumann <sven@gimp.org>
* app/config/gimpconfig-dump.c: fixed typo (Debian bug #310018).
......
......@@ -223,14 +223,12 @@ run (const gchar *name,
}
if (status == GIMP_PDB_SUCCESS)
{
image_ID = load_image (doc, param[1].data.d_string,
loadvals.resolution,
loadvals.antialias,
pages);
if (doc)
g_object_unref (doc);
if (image_ID != -1)
{
*nreturn_vals = 2;
......@@ -241,6 +239,10 @@ run (const gchar *name,
{
status = GIMP_PDB_EXECUTION_ERROR;
}
}
if (doc)
g_object_unref (doc);
g_free (pages->pages);
g_free (pages);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment