mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +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
@@ -182,7 +182,7 @@ static void addIconForWindow(WSwitchPanel * panel, WMWidget * parent, WWindow *
|
||||
image = wDefaultGetImage(panel->scr, wwin->wm_instance, wwin->wm_class, ICON_TILE_SIZE);
|
||||
|
||||
if (!image && !panel->defIcon) {
|
||||
char *file = wDefaultGetIconFile(panel->scr, NULL, NULL, False);
|
||||
char *file = wDefaultGetIconFile(NULL, NULL, False);
|
||||
if (file) {
|
||||
char *path = FindImage(wPreferences.icon_path, file);
|
||||
if (path) {
|
||||
|
||||
Reference in New Issue
Block a user