Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_image_set_changes_on_disk ( void   ) 

By default Imlib2 will not check the timestamp of an image on disk and compare it with the image in its cache - this is to minimize disk activity when using the cache. Call this function and it will flag the current context image as being liable to change on disk and Imlib2 will check the timestamp of the image file on disk and compare it with the cached image when it next needs to use this image in the cache.

Definition at line 2006 of file imlib2.c.

   ImlibImage         *im;

   if (!ctx)
      ctx = imlib_context_new();
   CHECK_PARAM_POINTER("imlib_image_set_never_changes_on_disk", "image",
   CAST_IMAGE(im, ctx->image);

Generated by  Doxygen 1.6.0   Back to index