Method

MateDesktopDesktopThumbnailFactoryhas_valid_failed_thumbnail

unstable since: 2.2

Declaration [src]

gboolean
mate_desktop_thumbnail_factory_has_valid_failed_thumbnail (
  MateDesktopThumbnailFactory* factory,
  const char* uri,
  time_t mtime
)

Description [src]

Tries to locate an failed thumbnail for the file specified. Writing and looking for failed thumbnails is important to avoid to try to thumbnail e.g. broken images several times.

Usage of this function is threadsafe.

Available since: 2.2

Parameters

uri

Type: const char*

The uri of a file.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
mtime

Type: time_t

The mtime of the file.

Return value

Type: gboolean

TRUE if there is a failed thumbnail for the file.