Method

MateDesktopDesktopItemget_icon

Declaration [src]

char*
mate_desktop_item_get_icon (
  const MateDesktopItem* item,
  GtkIconTheme* icon_theme
)

Description [src]

This function goes and looks for the icon file. If the icon is not set as an absolute filename, this will look for it in the standard places. If it can’t find the icon, it will return NULL.

Parameters

icon_theme

Type: GtkIconTheme

A GtkIconTheme.

The data is owned by the caller of the method.

Return value

Type: char*

A newly allocated string.

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.