tint2conf: Do not search for icons in all icon themes (issue #563)

This commit is contained in:
o9000
2017-03-20 18:06:49 +01:00
parent b6a4fe03df
commit acd1ed5768
4 changed files with 7 additions and 5 deletions

View File

@@ -1640,7 +1640,7 @@ GdkPixbuf *load_icon(const gchar *name)
process_events();
int size = 22;
char *path = get_icon_path(icon_theme, name, size);
char *path = get_icon_path(icon_theme, name, size, FALSE);
GdkPixbuf *pixbuf = path ? gdk_pixbuf_new_from_file_at_size(path, size, size, NULL) : NULL;
free(path);
return pixbuf;