1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-27 08:52:30 +01:00

Remove unused argument in save_appicon

The argument dock is always True, so can be removed.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
Rodolfo García Peñas (kix)
2015-08-23 20:56:55 +02:00
committed by Carlos R. Mafra
parent 9c4b19d8aa
commit b2c5078987
3 changed files with 8 additions and 8 deletions

View File

@@ -433,14 +433,14 @@ void wAppIconPaint(WAppIcon *aicon)
}
/* Save the application icon, if it's a dockapp then use it with dock = True */
void save_appicon(WAppIcon *aicon, Bool dock)
void save_appicon(WAppIcon *aicon)
{
char *path;
if (!aicon)
return;
if (dock && (!aicon->docked || aicon->attracted))
if (!aicon->docked || aicon->attracted)
return;
path = wIconStore(aicon->icon);
@@ -1190,7 +1190,7 @@ static void create_appicon_from_dock(WWindow *wwin, WApplication *wapp, Window m
/* Paint it */
wAppIconPaint(wapp->app_icon);
save_appicon(wapp->app_icon, True);
save_appicon(wapp->app_icon);
}
}