[gimp/gimp-2-8] Bug 729789 - Exporting to .xjt file creates multi GB file
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 729789 - Exporting to .xjt file creates multi GB file
- Date: Tue, 10 Jun 2014 00:18:35 +0000 (UTC)
commit 565e725429761b825b06a2393dbe36860d253386
Author: Michael Natterer <mitch gimp org>
Date: Tue Jun 10 02:15:27 2014 +0200
Bug 729789 - Exporting to .xjt file creates multi GB file
Disable saving of XJT files for the same reasons the plug-in
got removed entirely in master.
plug-ins/file-xjt/xjt.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/file-xjt/xjt.c b/plug-ins/file-xjt/xjt.c
index 100f1c7..6452e89 100644
--- a/plug-ins/file-xjt/xjt.c
+++ b/plug-ins/file-xjt/xjt.c
@@ -463,6 +463,7 @@ query (void)
{ GIMP_PDB_IMAGE, "image", "Output image" },
};
+#ifdef ENABLE_SAVING
static const GimpParamDef save_args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
@@ -475,6 +476,7 @@ query (void)
{ GIMP_PDB_INT32, "optimize", "Optimization of entropy encoding parameters" },
{ GIMP_PDB_INT32, "clr-transparent", "set all full-transparent pixels to 0" },
};
+#endif
gimp_install_procedure (LOAD_PROC,
"loads files of the jpeg-tar file format",
@@ -494,6 +496,7 @@ query (void)
"",
"");
+#ifdef ENABLE_SAVING
gimp_install_procedure (SAVE_PROC,
"saves files in the jpeg-tar file format",
"saves files in the jpeg-tar file format",
@@ -507,6 +510,7 @@ query (void)
save_args, NULL);
gimp_register_save_handler (SAVE_PROC, "xjt,xjtgz,xjtbz2", "");
+#endif
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]