mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
Use a jpeg_error_mgr that lives within PreviewPersistent, instead of an
2004-11-25 Manish Singh <yosh@gimp.org> * plug-ins/common/jpeg.c: Use a jpeg_error_mgr that lives within PreviewPersistent, instead of an automatic variable in save_image. Fixes bug #159076.
This commit is contained in:
parent
26be95eb17
commit
7a1647b1bf
|
@ -1,3 +1,9 @@
|
|||
2004-11-25 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/common/jpeg.c: Use a jpeg_error_mgr that lives within
|
||||
PreviewPersistent, instead of an automatic variable in save_image.
|
||||
Fixes bug #159076.
|
||||
|
||||
2004-11-25 Simon Budig <simon@gimp.org>
|
||||
|
||||
* modules/controller_linux_input.c: Add some sample code to retrieve
|
||||
|
|
|
@ -222,6 +222,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
struct jpeg_compress_struct cinfo;
|
||||
struct jpeg_error_mgr jerr;
|
||||
gint tile_height;
|
||||
FILE *outfile;
|
||||
gboolean has_alpha;
|
||||
|
@ -1711,7 +1712,8 @@ save_image (const gchar *filename,
|
|||
pp->abort_me = FALSE;
|
||||
abort_me = &(pp->abort_me);
|
||||
|
||||
jerr.pub.error_exit = background_error_exit;
|
||||
pp->cinfo.err = jpeg_std_error(&(pp->jerr));
|
||||
pp->jerr.error_exit = background_error_exit;
|
||||
|
||||
g_idle_add ((GSourceFunc) background_jpeg_save, pp);
|
||||
|
||||
|
|
|
@ -222,6 +222,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
struct jpeg_compress_struct cinfo;
|
||||
struct jpeg_error_mgr jerr;
|
||||
gint tile_height;
|
||||
FILE *outfile;
|
||||
gboolean has_alpha;
|
||||
|
@ -1711,7 +1712,8 @@ save_image (const gchar *filename,
|
|||
pp->abort_me = FALSE;
|
||||
abort_me = &(pp->abort_me);
|
||||
|
||||
jerr.pub.error_exit = background_error_exit;
|
||||
pp->cinfo.err = jpeg_std_error(&(pp->jerr));
|
||||
pp->jerr.error_exit = background_error_exit;
|
||||
|
||||
g_idle_add ((GSourceFunc) background_jpeg_save, pp);
|
||||
|
||||
|
|
|
@ -222,6 +222,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
struct jpeg_compress_struct cinfo;
|
||||
struct jpeg_error_mgr jerr;
|
||||
gint tile_height;
|
||||
FILE *outfile;
|
||||
gboolean has_alpha;
|
||||
|
@ -1711,7 +1712,8 @@ save_image (const gchar *filename,
|
|||
pp->abort_me = FALSE;
|
||||
abort_me = &(pp->abort_me);
|
||||
|
||||
jerr.pub.error_exit = background_error_exit;
|
||||
pp->cinfo.err = jpeg_std_error(&(pp->jerr));
|
||||
pp->jerr.error_exit = background_error_exit;
|
||||
|
||||
g_idle_add ((GSourceFunc) background_jpeg_save, pp);
|
||||
|
||||
|
|
|
@ -222,6 +222,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
struct jpeg_compress_struct cinfo;
|
||||
struct jpeg_error_mgr jerr;
|
||||
gint tile_height;
|
||||
FILE *outfile;
|
||||
gboolean has_alpha;
|
||||
|
@ -1711,7 +1712,8 @@ save_image (const gchar *filename,
|
|||
pp->abort_me = FALSE;
|
||||
abort_me = &(pp->abort_me);
|
||||
|
||||
jerr.pub.error_exit = background_error_exit;
|
||||
pp->cinfo.err = jpeg_std_error(&(pp->jerr));
|
||||
pp->jerr.error_exit = background_error_exit;
|
||||
|
||||
g_idle_add ((GSourceFunc) background_jpeg_save, pp);
|
||||
|
||||
|
|
|
@ -222,6 +222,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
struct jpeg_compress_struct cinfo;
|
||||
struct jpeg_error_mgr jerr;
|
||||
gint tile_height;
|
||||
FILE *outfile;
|
||||
gboolean has_alpha;
|
||||
|
@ -1711,7 +1712,8 @@ save_image (const gchar *filename,
|
|||
pp->abort_me = FALSE;
|
||||
abort_me = &(pp->abort_me);
|
||||
|
||||
jerr.pub.error_exit = background_error_exit;
|
||||
pp->cinfo.err = jpeg_std_error(&(pp->jerr));
|
||||
pp->jerr.error_exit = background_error_exit;
|
||||
|
||||
g_idle_add ((GSourceFunc) background_jpeg_save, pp);
|
||||
|
||||
|
|
|
@ -222,6 +222,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
struct jpeg_compress_struct cinfo;
|
||||
struct jpeg_error_mgr jerr;
|
||||
gint tile_height;
|
||||
FILE *outfile;
|
||||
gboolean has_alpha;
|
||||
|
@ -1711,7 +1712,8 @@ save_image (const gchar *filename,
|
|||
pp->abort_me = FALSE;
|
||||
abort_me = &(pp->abort_me);
|
||||
|
||||
jerr.pub.error_exit = background_error_exit;
|
||||
pp->cinfo.err = jpeg_std_error(&(pp->jerr));
|
||||
pp->jerr.error_exit = background_error_exit;
|
||||
|
||||
g_idle_add ((GSourceFunc) background_jpeg_save, pp);
|
||||
|
||||
|
|
|
@ -222,6 +222,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
struct jpeg_compress_struct cinfo;
|
||||
struct jpeg_error_mgr jerr;
|
||||
gint tile_height;
|
||||
FILE *outfile;
|
||||
gboolean has_alpha;
|
||||
|
@ -1711,7 +1712,8 @@ save_image (const gchar *filename,
|
|||
pp->abort_me = FALSE;
|
||||
abort_me = &(pp->abort_me);
|
||||
|
||||
jerr.pub.error_exit = background_error_exit;
|
||||
pp->cinfo.err = jpeg_std_error(&(pp->jerr));
|
||||
pp->jerr.error_exit = background_error_exit;
|
||||
|
||||
g_idle_add ((GSourceFunc) background_jpeg_save, pp);
|
||||
|
||||
|
|
Loading…
Reference in a new issue