summaryrefslogtreecommitdiff
path: root/src/nautilus-name-cell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-name-cell.c')
-rw-r--r--src/nautilus-name-cell.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nautilus-name-cell.c b/src/nautilus-name-cell.c
index bdcfcc2c7..3316ebbb5 100644
--- a/src/nautilus-name-cell.c
+++ b/src/nautilus-name-cell.c
@@ -184,7 +184,6 @@ update_emblems (NautilusNameCell *self)
g_autoptr (NautilusViewItem) item = NULL;
NautilusFile *file;
GtkWidget *child;
- GtkIconTheme *theme;
g_autolist (GIcon) emblems = NULL;
item = nautilus_view_cell_get_item (NAUTILUS_VIEW_CELL (self));
@@ -197,18 +196,9 @@ update_emblems (NautilusNameCell *self)
gtk_box_remove (GTK_BOX (self->emblems_box), child);
}
- theme = gtk_icon_theme_get_for_display (gdk_display_get_default ());
emblems = nautilus_file_get_emblem_icons (file);
for (GList *l = emblems; l != NULL; l = l->next)
{
- if (!gtk_icon_theme_has_gicon (theme, l->data))
- {
- g_autofree gchar *icon_string = g_icon_to_string (l->data);
- g_warning ("Failed to add emblem. ā€œ%sā€ not found in the icon theme",
- icon_string);
- continue;
- }
-
gtk_box_append (GTK_BOX (self->emblems_box),
gtk_image_new_from_gicon (l->data));
}