mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
f290a4226d
adds a JPEG-specific thumbnailing function that's faster than the exiting thumbnail code. This new code is only included if the libjpeg library is present at configure time. We still need RPM spec file changes to require this library if we are going to build RPMs on systems that have libjpeg. I fixed a few bugs in Alex's original patch and made some coding style tweaks as well. * acconfig.h: * configure.in: Added a check for libjpeg. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-thumbnails-jpeg.c: * libnautilus-extensions/nautilus-thumbnails-jpeg.h: Add new source files with JPEG thumbnailer. * libnautilus-extensions/nautilus-thumbnails.c: (make_thumbnails): Call the new function for JPEG files. Other changes. * libnautilus-extensions/nautilus-volume-monitor.c: Change interval back to 2 seconds. * libnautilus-extensions/nautilus-preferences.c: (preferences_set_storage_path): Fix storage leak. (nautilus_self_check_preferences): Added more checks. * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): Tiny code tweak.
25 lines
506 B
C
25 lines
506 B
C
#undef NAUTILUS_BUILD_MESSAGE
|
|
#undef NAUTILUS_SOURCE_DIRECTORY
|
|
#undef EAZEL_BUILD_TIMESTAMP
|
|
#undef ENABLE_NLS
|
|
#undef ENABLE_PROFILER
|
|
#undef ENABLE_INSTALLER
|
|
#undef HAVE_CATGETS
|
|
#undef HAVE_GETTEXT
|
|
#undef HAVE_LC_MESSAGES
|
|
#undef HAVE_MEDUSA
|
|
#undef HAVE_LIBJPEG
|
|
#undef HAVE_STPCPY
|
|
#undef HAVE_LIBBZ2
|
|
#undef HAVE_AMMONITE
|
|
#undef bzCompress
|
|
#undef bzCompressInit
|
|
#undef bzDecompress
|
|
#undef bzDecompressInit
|
|
#undef bzclose
|
|
#undef bzdopen
|
|
#undef bzerror
|
|
#undef bzflush
|
|
#undef bzopen
|
|
#undef bzread
|
|
#undef bzwrite
|