mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +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
@@ -323,7 +323,7 @@ static int showIconFor(WMScreen *scrPtr, InspectorPanel *panel, char *wm_instanc
|
||||
file = NULL;
|
||||
}
|
||||
} else {
|
||||
db_icon = wDefaultGetIconFile(panel->inspected->screen_ptr, wm_instance, wm_class, False);
|
||||
db_icon = wDefaultGetIconFile(wm_instance, wm_class, False);
|
||||
if (db_icon != NULL)
|
||||
file = wstrdup(db_icon);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user