Method

MateDesktopDesktopThumbnailFactorysave_thumbnail

unstable since: 2.2

Declaration [src]

void
mate_desktop_thumbnail_factory_save_thumbnail (
  MateDesktopThumbnailFactory* factory,
  GdkPixbuf* thumbnail,
  const char* uri,
  time_t original_mtime
)

Description [src]

Saves thumbnail at the right place. If the save fails a failed thumbnail is written.

Usage of this function is threadsafe.

Available since: 2.2

Parameters

thumbnail

Type: GdkPixbuf

The thumbnail as a pixbuf.

The data is owned by the caller of the method.
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.
original_mtime

Type: time_t

The modification time of the original file.