ide-content-type

ide-content-type

Functions

Description

Functions

ide_g_content_type_get_symbolic_icon ()

GIcon *
ide_g_content_type_get_symbolic_icon (const gchar *content_type,
                                      const gchar *filename);

This function is similar to g_content_type_get_symbolic_icon() except that it takes our bundled icons into account to ensure that they are taken at a higher priority than the fallbacks from the current icon theme such as Adwaita.

In 3.40, this function was modified to add the filename parameter.

Parameters

content_type

the content-type to lookup

 

Returns

A GIcon or NULL.

[transfer full][nullable]

Since: 3.40