Method

GtkRecentInfoget_icon

since: 2.10

Declaration [src]

GdkPixbuf*
gtk_recent_info_get_icon (
  GtkRecentInfo* info,
  gint size
)

Description [src]

Retrieves the icon of size size associated to the resource MIME type.

Available since: 2.10

Parameters

size

Type: gint

The size of the icon in pixels.

Return value

Type: GdkPixbuf

A GdkPixbuf containing the icon, or NULL. Use g_object_unref() when finished using the icon.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.