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

Icon painting moved to makeAppIconFor()

The icon painting is moved to the function makeAppIconFor()
including the check for no_appicon.

wAppIconCreate is now static because is only used in makeAppIconFor()
This commit is contained in:
Rodolfo García Peñas (kix)
2012-06-15 22:58:15 +02:00
committed by Carlos R. Mafra
parent ee450acb30
commit 089c99941f
3 changed files with 7 additions and 12 deletions

View File

@@ -151,10 +151,6 @@ WApplication *wApplicationCreate(WWindow * wwin)
/* Save the app_icon in a file */
save_app_icon(wapp);
/* Now, paint the icon */
if (!WFLAGP(wapp->main_window_desc, no_appicon))
paint_app_icon(wapp);
return wapp;
}