save_thumbnail


Description:

[ Version ( since = "2.2" ) ]
public void save_thumbnail (Pixbuf thumbnail, string uri, time_t original_mtime)

Saves thumbnail at the right place.

If the save fails a failed thumbnail is written.

Usage of this function is threadsafe and does blocking I/O.

Parameters:

this

a DesktopThumbnailFactory

thumbnail

the thumbnail as a pixbuf

uri

the uri of a file

original_mtime

the modification time of the original file

cancellable

a GCancellable object, or NULL

Returns:

TRUE if everything went fine; FALSE if there was an error.