Method

MateDesktopDesktopThumbnailFactorylookup

unstable since: 2.2

Declaration [src]

char*
mate_desktop_thumbnail_factory_lookup (
  MateDesktopThumbnailFactory* factory,
  const char* uri,
  time_t mtime
)

Description [src]

Tries to locate an existing thumbnail for the file specified.

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: char*

The absolute path of the thumbnail, or NULL if none exist.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.