gio::functions

Function content_type_get_generic_icon_name

Source
pub fn content_type_get_generic_icon_name(type_: &str) -> Option<GString>
Expand description

Gets the generic icon name for a content type.

See the shared-mime-info specification for more on the generic icon name.

§type_

a content type string

§Returns

the registered generic icon name for the given @type_, or None if unknown. Free with g_free()