plug-ins/common/csource.c plug-ins/common/jpeg.c If no comment is set on a

2003-05-12  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/csource.c
        * plug-ins/common/jpeg.c
        * plug-ins/common/tiff.c: If no comment is set on a
        GimpImage when it arrives to be saved, don't attach one.
        Fixes bug #98490 - and removes code which does what is
        suggested in bug #98485 as correct behaviour.
This commit is contained in:
Dave Neary 2003-05-13 19:48:18 +00:00 committed by David Neary
parent 85f5206d59
commit ff94661d92
10 changed files with 9 additions and 27 deletions

View File

@ -1,3 +1,12 @@
2003-05-12 Dave Neary <bolsh@gimp.org>
* plug-ins/common/csource.c
* plug-ins/common/jpeg.c
* plug-ins/common/tiff.c: If no comment is set on a
GimpImage when it arrives to be saved, don't attach one.
Fixes bug #98490 - and removes code which does what is
suggested in bug #98485 as correct behaviour.
2003-05-13 Michael Natterer <mitch@gimp.org>
* app/xcf/xcf-load.c (xcf_load_channel_props)

View File

@ -164,9 +164,6 @@ run (gchar *name,
}
x = config.comment;
if (!config.comment)
config.comment = gimp_get_default_comment ();
gimp_ui_init ("csource", FALSE);
export = gimp_export_image (&image_ID, &drawable_ID, "C Source",
(GIMP_EXPORT_CAN_HANDLE_RGB |

View File

@ -434,9 +434,6 @@ run (gchar *name,
gimp_parasite_free (parasite);
}
if (!image_comment)
image_comment = gimp_get_default_comment ();
jsvals.quality = DEFAULT_QUALITY;
jsvals.smoothing = DEFAULT_SMOOTHING;
jsvals.optimize = DEFAULT_OPTIMIZE;

View File

@ -309,9 +309,6 @@ run (gchar *name,
image_comment = g_strdup (parasite->data);
gimp_parasite_free (parasite);
if (!image_comment)
image_comment = gimp_get_default_comment ();
switch (run_mode)
{
case GIMP_RUN_INTERACTIVE:

View File

@ -434,9 +434,6 @@ run (gchar *name,
gimp_parasite_free (parasite);
}
if (!image_comment)
image_comment = gimp_get_default_comment ();
jsvals.quality = DEFAULT_QUALITY;
jsvals.smoothing = DEFAULT_SMOOTHING;
jsvals.optimize = DEFAULT_OPTIMIZE;

View File

@ -434,9 +434,6 @@ run (gchar *name,
gimp_parasite_free (parasite);
}
if (!image_comment)
image_comment = gimp_get_default_comment ();
jsvals.quality = DEFAULT_QUALITY;
jsvals.smoothing = DEFAULT_SMOOTHING;
jsvals.optimize = DEFAULT_OPTIMIZE;

View File

@ -434,9 +434,6 @@ run (gchar *name,
gimp_parasite_free (parasite);
}
if (!image_comment)
image_comment = gimp_get_default_comment ();
jsvals.quality = DEFAULT_QUALITY;
jsvals.smoothing = DEFAULT_SMOOTHING;
jsvals.optimize = DEFAULT_OPTIMIZE;

View File

@ -434,9 +434,6 @@ run (gchar *name,
gimp_parasite_free (parasite);
}
if (!image_comment)
image_comment = gimp_get_default_comment ();
jsvals.quality = DEFAULT_QUALITY;
jsvals.smoothing = DEFAULT_SMOOTHING;
jsvals.optimize = DEFAULT_OPTIMIZE;

View File

@ -434,9 +434,6 @@ run (gchar *name,
gimp_parasite_free (parasite);
}
if (!image_comment)
image_comment = gimp_get_default_comment ();
jsvals.quality = DEFAULT_QUALITY;
jsvals.smoothing = DEFAULT_SMOOTHING;
jsvals.optimize = DEFAULT_OPTIMIZE;

View File

@ -434,9 +434,6 @@ run (gchar *name,
gimp_parasite_free (parasite);
}
if (!image_comment)
image_comment = gimp_get_default_comment ();
jsvals.quality = DEFAULT_QUALITY;
jsvals.smoothing = DEFAULT_SMOOTHING;
jsvals.optimize = DEFAULT_OPTIMIZE;