Function

Giocontent_type_get_icon

Declaration [src]

GIcon*
g_content_type_get_icon (
  const gchar* type
)

Description [src]

Gets the icon for a content type.

Parameters

type

Type: const gchar*

A content type string.

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

Return value

Type: GIcon

GIcon corresponding to the content type. Free the returned object with g_object_unref().

The caller of the function takes ownership of the data, and is responsible for freeing it.