[gimp] Revert "file-gif-save: Export images in non-interactive run mode (Bug #698450)"
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Revert "file-gif-save: Export images in non-interactive run mode (Bug #698450)"
- Date: Fri, 26 Sep 2014 11:10:22 +0000 (UTC)
commit be45ec02dc15aef48f2669f298674aa49a4613a7
Author: Mukund Sivaraman <muks banu com>
Date: Fri Sep 26 16:39:49 2014 +0530
Revert "file-gif-save: Export images in non-interactive run mode (Bug #698450)"
This reverts commit 197280311ab1bbe4aa2e5e5fbb8a621c54232df4.
plug-ins/common/file-gif-save.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/common/file-gif-save.c b/plug-ins/common/file-gif-save.c
index 3233c71..90c43ae 100644
--- a/plug-ins/common/file-gif-save.c
+++ b/plug-ins/common/file-gif-save.c
@@ -283,8 +283,7 @@ run (const gchar *name,
break;
default:
- g_warning("Unhandled run_mode (%d)", run_mode);
- status = GIMP_PDB_CALLING_ERROR;
+ break;
}
}
@@ -292,7 +291,6 @@ run (const gchar *name,
switch (run_mode)
{
case GIMP_RUN_INTERACTIVE:
- case GIMP_RUN_NONINTERACTIVE:
case GIMP_RUN_WITH_LAST_VALS:
{
GimpExportCapabilities capabilities =
@@ -315,9 +313,8 @@ run (const gchar *name,
}
}
break;
-
default:
- status = GIMP_PDB_CALLING_ERROR;
+ break;
}
/* Write the image to file */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]