mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
wIconUpdate removed image argument
The argument image is not used in any call, so can be removed.
This commit is contained in:
committed by
Carlos R. Mafra
parent
c24499f6ad
commit
4093d24625
@@ -542,7 +542,7 @@ static void keepIconsCallback(WMenu *menu, WMenuEntry *entry)
|
||||
aicon->icon->shadowed = 0;
|
||||
|
||||
/* Update the icon images */
|
||||
wIconUpdate(aicon->icon, NULL);
|
||||
wIconUpdate(aicon->icon);
|
||||
|
||||
/* Paint it */
|
||||
wAppIconPaint(aicon);
|
||||
@@ -1942,7 +1942,7 @@ Bool wDockAttachIcon(WDock *dock, WAppIcon *icon, int x, int y, Bool update_icon
|
||||
|
||||
/* Update the icon images */
|
||||
if (lupdate_icon)
|
||||
wIconUpdate(icon->icon, NULL);
|
||||
wIconUpdate(icon->icon);
|
||||
|
||||
/* Paint it */
|
||||
wAppIconPaint(icon);
|
||||
@@ -2096,7 +2096,7 @@ static Bool moveIconBetweenDocks(WDock *src, WDock *dest, WAppIcon *icon, int x,
|
||||
|
||||
/* Update the icon images */
|
||||
if (update_icon)
|
||||
wIconUpdate(icon->icon, NULL);
|
||||
wIconUpdate(icon->icon);
|
||||
|
||||
/* Paint it */
|
||||
wAppIconPaint(icon);
|
||||
@@ -2173,7 +2173,7 @@ void wDockDetach(WDock *dock, WAppIcon *icon)
|
||||
|
||||
/* Update the icon images */
|
||||
if (update_icon)
|
||||
wIconUpdate(icon->icon, NULL);
|
||||
wIconUpdate(icon->icon);
|
||||
|
||||
/* Paint it */
|
||||
wAppIconPaint(icon);
|
||||
|
||||
Reference in New Issue
Block a user