[Xfce4-commits] [xfce/thunar] 01/02: Drop gtk_icon_info_get_display_name

noreply at xfce.org noreply at xfce.org
Sun Jun 3 00:41:09 CEST 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 5037aff952d0a9dd27e7fa3c4ffdcb62573c751e
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Jun 2 18:44:42 2018 -0300

    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 4332c58..30953d6 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 ();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list