/[emacs]/emacs/src/image.c
ViewVC logotype

Diff of /emacs/src/image.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30 by ttn, Sun Aug 7 12:33:17 2005 UTC revision 1.31 by rms, Thu Aug 11 13:58:12 2005 UTC
# Line 8025  syms_of_image () Line 8025  syms_of_image ()
8025  {  {
8026    extern Lisp_Object Qrisky_local_variable;   /* Syms_of_xdisp has already run.  */    extern Lisp_Object Qrisky_local_variable;   /* Syms_of_xdisp has already run.  */
8027    
8028      /* Initialize this only once, since that's what we do with Vimage_types
8029         and they are supposed to be in sync.  Initializing here gives correct
8030         operation on GNU/Linux of calling dump-emacs after loading some images.  */
8031      image_types = NULL;
8032    
8033    /* Must be defined now becase we're going to update it below, while    /* Must be defined now becase we're going to update it below, while
8034       defining the supported image types.  */       defining the supported image types.  */
8035    DEFVAR_LISP ("image-types", &Vimage_types,    DEFVAR_LISP ("image-types", &Vimage_types,
# Line 8033  Each element of the list is a symbol for Line 8038  Each element of the list is a symbol for
8038  To check whether it is really supported, use `image-type-available-p'.  */);  To check whether it is really supported, use `image-type-available-p'.  */);
8039    Vimage_types = Qnil;    Vimage_types = Qnil;
8040    
8041      define_image_type (&xbm_type, 1);
8042      define_image_type (&pbm_type, 1);
8043    
8044    DEFVAR_LISP ("image-library-alist", &Vimage_library_alist,    DEFVAR_LISP ("image-library-alist", &Vimage_library_alist,
8045      doc: /* Alist of image types vs external libraries needed to display them.      doc: /* Alist of image types vs external libraries needed to display them.
8046    
# Line 8163  meaning don't clear the cache.  */); Line 8171  meaning don't clear the cache.  */);
8171  void  void
8172  init_image ()  init_image ()
8173  {  {
   image_types = NULL;  
   
   define_image_type (&xbm_type, 1);  
   define_image_type (&pbm_type, 1);  
   
8174  #ifdef MAC_OS  #ifdef MAC_OS
8175    /* Animated gifs use QuickTime Movie Toolbox.  So initialize it here. */    /* Animated gifs use QuickTime Movie Toolbox.  So initialize it here. */
8176    EnterMovies ();    EnterMovies ();

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26