mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
save_app_icon WWindow argument removed
The argument wwin (WWindow) is not used in save_app_icon, so it can be removed.
This commit is contained in:
committed by
Carlos R. Mafra
parent
1fbce07805
commit
e3b9026532
@@ -931,7 +931,7 @@ void wApplicationSaveIconPathFor(char *iconPath, char *wm_instance, char *wm_cla
|
||||
|
||||
/* Save the application icon */
|
||||
/* This function is used by normal windows */
|
||||
void save_app_icon(WWindow *wwin, WApplication *wapp)
|
||||
void save_app_icon(WApplication *wapp)
|
||||
{
|
||||
if (!wapp->app_icon)
|
||||
return;
|
||||
|
||||
@@ -79,7 +79,7 @@ void wAppIconPaint(WAppIcon *aicon);
|
||||
void wAppIconMove(WAppIcon *aicon, int x, int y);
|
||||
void makeAppIconFor(WApplication * wapp);
|
||||
void removeAppIconFor(WApplication * wapp);
|
||||
void save_app_icon(WWindow *wwin, WApplication *wapp);
|
||||
void save_app_icon(WApplication *wapp);
|
||||
void paint_app_icon(WApplication *wapp);
|
||||
void wApplicationSaveIconPathFor(char *iconPath, char *wm_instance,
|
||||
char *wm_class);
|
||||
|
||||
@@ -149,7 +149,7 @@ WApplication *wApplicationCreate(WWindow * wwin)
|
||||
app_icon_create_from_docks(wwin, wapp, main_window);
|
||||
|
||||
/* Save the app_icon in a file */
|
||||
save_app_icon(wwin, wapp);
|
||||
save_app_icon(wapp);
|
||||
|
||||
/* Now, paint the icon */
|
||||
if (!WFLAGP(wapp->main_window_desc, no_appicon))
|
||||
|
||||
Reference in New Issue
Block a user