1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-26 00:12:31 +01:00

Remove dup set icon file to NULL

Remove the icon->file = NULL because was set in unset_icon_image().
This commit is contained in:
Rodolfo García Peñas (kix)
2012-11-14 20:06:14 +01:00
committed by Carlos R. Mafra
parent 7746fe7c5a
commit ead0fb2e4b

View File

@@ -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;
}