Method

GtkIconThemeget_search_path

since: 2.4

Declaration [src]

void
gtk_icon_theme_get_search_path (
  GtkIconTheme* icon_theme,
  gchar*** path,
  gint* n_elements
)

Description [src]

Gets the current search path. See gtk_icon_theme_set_search_path().

Available since: 2.4

Parameters

path

Type: An array of filename

location to store a list of icon theme path directories or `NULL`.
The stored value should be freed with g_strfreev().
The argument will be set by the function.
The argument can be NULL.
The length of the array is specified in the n_elements argument.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
Each element is a file system path, using the OS encoding.
n_elements

Type: gint*

Location to store number of elements in path, or NULL.

The argument will be set by the function.