mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 06:38:05 +01:00
Unify save_appicon() and wAppIconSave()
Having two similarly named functions for doing the same thing is confusing. In order to account for the extra check done by the late wAppIconSave(), add an argument "dock". Now there's only save_appicon(). And as pointed out by Rodolfo kix García, the save_appicon_core() function can be removed too. Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
@@ -78,7 +78,6 @@ void wAppIconPaint(WAppIcon *aicon);
|
||||
void wAppIconMove(WAppIcon *aicon, int x, int y);
|
||||
void makeAppIconFor(WApplication * wapp);
|
||||
void removeAppIconFor(WApplication * wapp);
|
||||
void save_app_icon(WApplication *wapp);
|
||||
void save_appicon(WAppIcon *aicon, Bool dock);
|
||||
void paint_app_icon(WApplication *wapp);
|
||||
void wAppIconSave(WAppIcon *aicon);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user