Fix typo in IconTheme.

The add_search_path() method was
using the resource_path property
in place of the search_path one.
This commit is contained in:
Arnaud Bonatti 2020-04-14 20:43:02 +02:00
parent 54300e1cc3
commit 8c769ea3f3

View File

@ -1499,7 +1499,7 @@ gtk_icon_theme_add_search_path (GtkIconTheme *self,
len = g_strv_length (self->search_path);
paths = g_new (char *, len + 2);
memcpy (paths, self->resource_path, sizeof (char *) * len);
memcpy (paths, self->search_path, sizeof (char *) * len);
paths[len] = (char *)path;
paths[len + 1] = NULL;