From 5037aff952d0a9dd27e7fa3c4ffdcb62573c751e Mon Sep 17 00:00:00 2001 From: Andre Miranda Date: Sat, 2 Jun 2018 18:44:42 -0300 Subject: [PATCH] Drop gtk_icon_info_get_display_name Since 3.14 it always return NULL --- thunar/thunar-emblem-chooser.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/thunar/thunar-emblem-chooser.c b/thunar/thunar-emblem-chooser.c index 4332c58a8..30953d632 100644 --- a/thunar/thunar-emblem-chooser.c +++ b/thunar/thunar-emblem-chooser.c @@ -451,9 +451,7 @@ thunar_emblem_chooser_create_button (ThunarEmblemChooser *chooser, goto done; /* determine the display name for the emblem */ - name = gtk_icon_info_get_display_name (info); - if (G_UNLIKELY (name == NULL)) - name = (strncmp (emblem, "emblem-", 7) == 0) ? emblem + 7 : emblem; + name = (strncmp (emblem, "emblem-", 7) == 0) ? emblem + 7 : emblem; /* allocate the button */ button = gtk_check_button_new ();