mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 01:01:13 +00:00
* Source/NSBitmapImageRep+GIF.m (-_bitmapIsGIF:): Prepare for
additional argument to function DGifOpen in newer libgif versions. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36459 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
51cbfa0dba
commit
c9301f8873
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-04-03 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSBitmapImageRep+GIF.m (-_bitmapIsGIF:): Prepare for
|
||||||
|
additional argument to function DGifOpen in newer libgif versions.
|
||||||
|
|
||||||
2013-03-28 Richard Frith-Macdonald <rfm@gnu.org>
|
2013-03-28 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
Make release
|
Make release
|
||||||
|
|
|
@ -142,7 +142,11 @@ static int gs_gif_output(GifFileType *file, const GifByteType *buffer, int len)
|
||||||
}
|
}
|
||||||
|
|
||||||
gs_gif_init_input_source(&src, imageData);
|
gs_gif_init_input_source(&src, imageData);
|
||||||
|
#if GIFLIB_MAJOR >= 5
|
||||||
|
file = DGifOpen(&src, gs_gif_input, NULL);
|
||||||
|
#else
|
||||||
file = DGifOpen(&src, gs_gif_input);
|
file = DGifOpen(&src, gs_gif_input);
|
||||||
|
#endif
|
||||||
if (file == NULL)
|
if (file == NULL)
|
||||||
{
|
{
|
||||||
/* we do not use giferror here because it doesn't
|
/* we do not use giferror here because it doesn't
|
||||||
|
|
Loading…
Reference in a new issue