1
0
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:
Rodolfo García Peñas (kix)
2012-06-18 11:51:57 +02:00
committed by Carlos R. Mafra
parent 1fbce07805
commit e3b9026532
3 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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);

View File

@@ -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))