Recognize svgz icon types

This commit is contained in:
Nikos Tsipinakis 2020-06-11 18:21:58 +02:00
parent 00851dd4d3
commit 1ca271084a

View File

@ -200,7 +200,7 @@ GdkPixbuf *get_pixbuf_from_icon(const char *iconname)
if (STR_EMPTY(iconname)) if (STR_EMPTY(iconname))
return NULL; return NULL;
const char *suffixes[] = { ".svg", ".png", ".xpm", NULL }; const char *suffixes[] = { ".svg", ".svgz", ".png", ".xpm", NULL };
GdkPixbuf *pixbuf = NULL; GdkPixbuf *pixbuf = NULL;
gchar *uri_path = NULL; gchar *uri_path = NULL;