From ead0fb2e4bf14eadf22b23987fd41bc60c6635b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Wed, 14 Nov 2012 20:06:14 +0100 Subject: [PATCH] Remove dup set icon file to NULL Remove the icon->file = NULL because was set in unset_icon_image(). --- src/icon.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/icon.c b/src/icon.c index 04767d8c..5a181480 100644 --- a/src/icon.c +++ b/src/icon.c @@ -656,7 +656,6 @@ static void get_rimage_icon_from_x11(WIcon *icon) unset_icon_image(icon); /* Set the new icon image */ - icon->file = NULL; icon->file_image = RRetainImage(icon->owner->net_icon_image); } @@ -680,7 +679,6 @@ static void get_rimage_icon_from_default_icon(WIcon *icon) unset_icon_image(icon); /* Set the new icon image */ - icon->file = NULL; icon->file_image = RRetainImage(scr->def_icon_rimage); } @@ -696,7 +694,6 @@ static void get_rimage_icon_from_icon_win(WIcon *icon) unset_icon_image(icon); /* Set the new info */ - icon->file = NULL; icon->file_image = image; } -- 2.11.4.GIT