mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 23:24:16 +00:00
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:
parent
54300e1cc3
commit
8c769ea3f3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user