1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00

(init_image) [MAC_OS]: Don't call EnterMovies.

[!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies.
This commit is contained in:
YAMAMOTO Mitsuharu 2005-12-10 01:49:15 +00:00
parent a7b2485287
commit dac5344bda

View File

@ -7778,6 +7778,9 @@ gif_load (f, img)
specified_file = image_spec_value (img->spec, QCfile, NULL);
specified_data = image_spec_value (img->spec, QCdata, NULL);
/* Animated gifs use QuickTime Movie Toolbox. So initialize it here. */
EnterMovies ();
if (NILP (specified_data))
{
/* Read from a file */
@ -8500,14 +8503,9 @@ meaning don't clear the cache. */);
void
init_image ()
{
#ifdef MAC_OS
/* Animated gifs use QuickTime Movie Toolbox. So initialize it here. */
if (!inhibit_window_system)
EnterMovies ();
#ifdef MAC_OSX
#if defined (MAC_OSX) && TARGET_API_MAC_CARBON
init_image_func_pointer ();
#endif
#endif
}
/* arch-tag: 123c2a5e-14a8-4c53-ab95-af47d7db49b9