1
0
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:
Rodolfo García Peñas (kix)
2012-07-03 11:42:39 +02:00
committed by Carlos R. Mafra
parent fd07a6bb36
commit d6db53af0b
8 changed files with 12 additions and 14 deletions

View File

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