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:
committed by
Carlos R. Mafra
parent
a950d0e247
commit
cc1503a2f0
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user