[Xfce4-commits] [xfce/xfdesktop] 01/01: Remove dead code

noreply at xfce.org noreply at xfce.org
Mon Feb 16 17:32:20 CET 2015


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

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit db3d350f55e55efbbc7e1b168759149f0b117d16
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date:   Mon Feb 16 19:23:15 2015 +0300

    Remove dead code
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 src/windowlist.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/windowlist.c b/src/windowlist.c
index 6ae9fea..12e8989 100644
--- a/src/windowlist.c
+++ b/src/windowlist.c
@@ -220,13 +220,10 @@ windowlist_populate(XfceDesktop *desktop,
     GList *windows, *l;
     WnckWindow *wnck_window;
     gint w, h;
-    PangoFontDescription *italic_font_desc;
     
     if(!show_windowlist)
         return;
     
-    italic_font_desc = pango_font_description_from_string("italic");
-    
     if(gtk_widget_has_screen(GTK_WIDGET(menu)))
         gscreen = gtk_widget_get_screen(GTK_WIDGET(menu));
     else
@@ -352,8 +349,6 @@ windowlist_populate(XfceDesktop *desktop,
             gtk_menu_shell_append(GTK_MENU_SHELL(submenu), mi);
         }
     }
-    
-    pango_font_description_free(italic_font_desc);
 
     if(wl_add_remove_options) {
         /* 'add workspace' item */

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


More information about the Xfce4-commits mailing list