libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 53927ee773cd5b49cf58f29c23c1ef24ac2fc477
parent 12ab0d719727a6d3fbcf1e18b171f06a7cf84a26
Author: Nils Durner <durner@gnunet.org>
Date:   Sat, 18 Jun 2005 15:34:39 +0000

MinGW

Diffstat:
Msrc/plugins/thumbnail/thumbnailextractor.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/thumbnail/thumbnailextractor.c b/src/plugins/thumbnail/thumbnailextractor.c @@ -95,6 +95,7 @@ struct EXTRACTOR_Keywords * libextractor_thumbnail_extract(const char * filename const char * mime; int j; char * format; + GError *err = NULL; /* if the mime-type of the file is not whitelisted do not run the thumbnail extactor! */ @@ -112,7 +113,7 @@ struct EXTRACTOR_Keywords * libextractor_thumbnail_extract(const char * filename return prev; in = gdk_pixbuf_new_from_file(filename, - NULL); + &err); if (in == NULL) return prev; height = gdk_pixbuf_get_height(in);