mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Remove unused argument from wDefaultGetIconFile()
The function wDefaultGetIconFile() doesn't use the argument WScreen, so it can be removed.
This commit is contained in:
committed by
Carlos R. Mafra
parent
fd07a6bb36
commit
d6db53af0b
@@ -1125,7 +1125,7 @@ void wDefaultUpdateIcons(WScreen * scr)
|
||||
char *file;
|
||||
|
||||
while (aicon) {
|
||||
file = wDefaultGetIconFile(scr, aicon->wm_instance, aicon->wm_class, False);
|
||||
file = wDefaultGetIconFile(aicon->wm_instance, aicon->wm_class, False);
|
||||
if ((file && aicon->icon->file && strcmp(file, aicon->icon->file) != 0)
|
||||
|| (file && !aicon->icon->file)) {
|
||||
wIconChangeImageFile(aicon->icon, file);
|
||||
@@ -1139,7 +1139,7 @@ void wDefaultUpdateIcons(WScreen * scr)
|
||||
|
||||
while (wwin) {
|
||||
if (wwin->icon && wwin->flags.miniaturized) {
|
||||
file = wDefaultGetIconFile(scr, wwin->wm_instance, wwin->wm_class, False);
|
||||
file = wDefaultGetIconFile(wwin->wm_instance, wwin->wm_class, False);
|
||||
if ((file && wwin->icon->file && strcmp(file, wwin->icon->file) != 0)
|
||||
|| (file && !wwin->icon->file)) {
|
||||
wIconChangeImageFile(wwin->icon, file);
|
||||
|
||||
Reference in New Issue
Block a user