mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
wDefaultGetImage renamed to get_icon_image
The function wDefaultGetImage is renamed to get_icon_image.
This commit is contained in:
committed by
Carlos R. Mafra
parent
c3a1c76b44
commit
658597b889
@@ -161,9 +161,9 @@ static void addIconForWindow(WSwitchPanel *panel, WMWidget *parent, WWindow *wwi
|
||||
if (!WFLAGP(wwin, always_user_icon) && wwin->net_icon_image)
|
||||
image = RRetainImage(wwin->net_icon_image);
|
||||
|
||||
/* wDefaultGetImage() includes the default icon image */
|
||||
/* get_icon_image() includes the default icon image */
|
||||
if (!image)
|
||||
image = wDefaultGetImage(panel->scr, wwin->wm_instance, wwin->wm_class, ICON_TILE_SIZE);
|
||||
image = get_icon_image(panel->scr, wwin->wm_instance, wwin->wm_class, ICON_TILE_SIZE);
|
||||
|
||||
/* We must resize the icon size (~64) to the switchpanel icon size (~48) */
|
||||
image = wIconValidateIconSize(image, ICON_SIZE);
|
||||
|
||||
Reference in New Issue
Block a user