Mercurial > hg > forks > geeqie
changeset 2404:084d650233f0
Do not add BPG to supported files filter if support is not compiled in.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Dec 2016 16:11:31 +0200 |
parents | 5e74f972baca |
children | a23536c9055f 57fd6df5c0db |
files | src/filefilter.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/filefilter.c Thu Dec 08 16:11:05 2016 +0200 +++ b/src/filefilter.c Thu Dec 08 16:11:31 2016 +0200 @@ -237,7 +237,9 @@ /* add defaults even if gdk-pixbuf does not have them, but disabled */ filter_add_if_missing("jpeg", "JPEG group", ".jpg;.jpeg;.jpe", FORMAT_CLASS_IMAGE, TRUE, FALSE, FALSE); filter_add_if_missing("png", "Portable Network Graphic", ".png", FORMAT_CLASS_IMAGE, TRUE, FALSE, FALSE); +#ifdef HAVE_BPG filter_add_if_missing("bpg", "Better Portable Graphics", ".bpg", FORMAT_CLASS_IMAGE, TRUE, FALSE, FALSE); +#endif filter_add_if_missing("tiff", "Tiff", ".tif;.tiff", FORMAT_CLASS_IMAGE, TRUE, FALSE, FALSE); filter_add_if_missing("pnm", "Packed Pixel formats", ".pbm;.pgm;.pnm;.ppm", FORMAT_CLASS_IMAGE, TRUE, FALSE, FALSE); filter_add_if_missing("gif", "Graphics Interchange Format", ".gif", FORMAT_CLASS_IMAGE, TRUE, FALSE, FALSE);