diff --git a/gio/glocalfileinfo.c b/gio/glocalfileinfo.c index 801695ad0..86bbb225b 100644 --- a/gio/glocalfileinfo.c +++ b/gio/glocalfileinfo.c @@ -1634,7 +1634,6 @@ _g_local_file_info_get_nostat (GFileInfo *info, static const char * get_icon_name (const char *path, - const char *content_type, gboolean use_symbolic, gboolean *with_fallbacks_out) { @@ -1679,10 +1678,6 @@ get_icon_name (const char *path, { name = use_symbolic ? "folder-videos-symbolic" : "folder-videos"; } - else if (g_content_type_is_mime_type (content_type,"inode/directory")) - { - name = use_symbolic ? "folder-symbolic" : "folder"; - } else { name = NULL; @@ -1703,7 +1698,7 @@ get_icon (const char *path, const char *icon_name; gboolean with_fallbacks; - icon_name = get_icon_name (path, content_type, use_symbolic, &with_fallbacks); + icon_name = get_icon_name (path, use_symbolic, &with_fallbacks); if (icon_name != NULL) { if (with_fallbacks)