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:
committed by
Carlos R. Mafra
parent
453a0226ad
commit
278bf5ee7e
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user