mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +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
@@ -127,10 +127,10 @@ WAppIcon *wAppIconCreateForDock(WScreen * scr, char *command, char *wm_instance,
|
||||
if (wm_instance)
|
||||
dicon->wm_instance = wstrdup(wm_instance);
|
||||
|
||||
path = wDefaultGetIconFile(scr, wm_instance, wm_class, True);
|
||||
path = wDefaultGetIconFile(wm_instance, wm_class, True);
|
||||
if (!path && command) {
|
||||
wApplicationExtractDirPackIcon(scr, command, wm_instance, wm_class);
|
||||
path = wDefaultGetIconFile(scr, wm_instance, wm_class, False);
|
||||
path = wDefaultGetIconFile(wm_instance, wm_class, False);
|
||||
}
|
||||
|
||||
if (path)
|
||||
|
||||
Reference in New Issue
Block a user