diff --git a/gio/gio.symbols b/gio/gio.symbols index 536f0d18f..ab207fa80 100644 --- a/gio/gio.symbols +++ b/gio/gio.symbols @@ -161,8 +161,10 @@ g_content_type_is_unknown g_content_type_get_description g_content_type_get_mime_type g_content_type_get_icon +#ifdef G_OS_UNIX g_content_type_get_symbolic_icon g_content_type_get_generic_icon_name +#endif g_content_type_can_be_executable g_content_type_from_mime_type g_content_type_guess diff --git a/gio/glocalfileinfo.c b/gio/glocalfileinfo.c index ec1b9369e..1bff31963 100644 --- a/gio/glocalfileinfo.c +++ b/gio/glocalfileinfo.c @@ -1525,9 +1525,11 @@ get_icon (const char *path, } else { +#ifdef G_OS_UNIX if (use_symbolic) icon = g_content_type_get_symbolic_icon (content_type); else +#endif icon = g_content_type_get_icon (content_type); if (G_IS_THEMED_ICON (icon) && is_folder)