bugfix for crash when user empties trash bin

bug introduced with latest patch for memory leaks
When a widget is not constant but changed during operation it mustn't be "manged" automatically by gtk.
This commit is contained in:
ffsup2
2011-05-13 23:13:34 +02:00
commit 446cddcc80
684 changed files with 147426 additions and 0 deletions

35
rtengine/jpeg.h Normal file
View File

@@ -0,0 +1,35 @@
#ifndef _RT_JPEG_H
#define _RT_JPEG_H
#include <setjmp.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <jpeglib.h>
extern GLOBAL(struct jpeg_error_mgr *)
my_jpeg_std_error (struct jpeg_error_mgr * err);
extern GLOBAL(void)
my_jpeg_stdio_src (j_decompress_ptr cinfo, FILE * infile);
GLOBAL(void)
jpeg_memory_src (j_decompress_ptr cinfo, const JOCTET * buffer, size_t bufsize);
/**
* @brief jpeg from file and memory use this as base to managers
*/
typedef struct
{
struct jpeg_source_mgr pub; /* public fields */
jmp_buf error_jmp_buf; /* error handler for this instance */
} rt_jpeg_error_mgr;
#ifdef __cplusplus
}
#endif
#endif