Function

MateDesktopdesktop_thumbnail_is_valid

unstable since: 2.2

Declaration [src]

gboolean
mate_desktop_thumbnail_is_valid (
  GdkPixbuf* pixbuf,
  const char* uri,
  time_t mtime
)

Description [src]

Returns whether the thumbnail has the correct uri and mtime embedded in the png options.

Available since: 2.2

Parameters

pixbuf

Type: GdkPixbuf

An loaded thumbnail GdkPixbuf.

The data is owned by the caller of the function.
uri

Type: const char*

A uri.

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

Type: time_t

The mtime.

Return value

Type: gboolean

TRUE if the thumbnail has the right uri and mtime.