mirror of https://github.com/GNOME/gimp.git
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:
parent
85f5206d59
commit
ff94661d92
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue