1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-26 00:12:31 +01:00

get_icon_filename doesn't use WScreen

The function get_icon_filename now doesn't need the
argument WScreen, so can be removed.
This commit is contained in:
Rodolfo García Peñas (kix)
2013-09-05 21:08:18 +02:00
committed by Carlos R. Mafra
parent 453a0226ad
commit 278bf5ee7e
4 changed files with 6 additions and 6 deletions

View File

@@ -903,7 +903,7 @@ void set_icon_image_from_database(WIcon *icon, const char *wm_instance, const ch
{
char *file = NULL;
file = get_icon_filename(icon->core->screen_ptr, wm_instance, wm_class, command, False);
file = get_icon_filename(wm_instance, wm_class, command, False);
if (file) {
icon->file = wstrdup(file);
icon->file_image = get_rimage_from_file(icon->core->screen_ptr, icon->file, wPreferences.icon_size);