Skip to content

Commit

Permalink
Drop gtk_icon_info_get_display_name
Browse files Browse the repository at this point in the history
Since 3.14 it always return NULL
  • Loading branch information
Andre Miranda committed Jun 2, 2018
1 parent d6ff606 commit 5037aff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions thunar/thunar-emblem-chooser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down

0 comments on commit 5037aff

Please sign in to comment.