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