Commit ff94661d authored by Dave Neary's avatar Dave Neary Committed by David Neary
Browse files

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.
parent 85f5206d
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)
......@@ -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 |
......
......@@ -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;
......
......@@ -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:
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
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