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

wAppIconPaint argument removed

This patch removes the wAppIconPaint() Bool flag, because now it is
always False.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-11-10 20:25:14 +01:00
committed by Carlos R. Mafra
parent a950d0e247
commit cc1503a2f0
11 changed files with 23 additions and 37 deletions

View File

@@ -177,12 +177,10 @@ static void panelBtnCallback(WMWidget * self, void *data)
} else {
WAppIcon *aicon = panel->editedIcon;
/* The image was updated in wIconChangeImageFile,
* so we don't need udpate it at wAppIconPaint */
if (aicon == aicon->icon->core->screen_ptr->clip_icon)
wClipIconPaint(aicon);
else
wAppIconPaint(aicon, False);
wAppIconPaint(aicon);
wDefaultChangeIcon(panel->wwin->screen_ptr, aicon->wm_instance, aicon->wm_class, text);
}