mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-31 11:02:35 +01:00
Remove unused argument in save_appicon
The argument dock is always True, so can be removed. Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
committed by
Carlos R. Mafra
parent
9c4b19d8aa
commit
b2c5078987
@@ -583,7 +583,7 @@ static void keepIconsCallback(WMenu *menu, WMenuEntry *entry)
|
||||
wAppIconPaint(aicon);
|
||||
}
|
||||
}
|
||||
save_appicon(aicon, True);
|
||||
save_appicon(aicon);
|
||||
}
|
||||
WMFreeArray(selectedIcons);
|
||||
}
|
||||
@@ -1445,7 +1445,7 @@ static void dockIconPaint(WAppIcon *btn)
|
||||
wDrawerIconPaint(btn);
|
||||
} else {
|
||||
wAppIconPaint(btn);
|
||||
save_appicon(btn, True);
|
||||
save_appicon(btn);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2219,7 +2219,7 @@ Bool wDockAttachIcon(WDock *dock, WAppIcon *icon, int x, int y, Bool update_icon
|
||||
wAppIconPaint(icon);
|
||||
|
||||
/* Save it */
|
||||
save_appicon(icon, True);
|
||||
save_appicon(icon);
|
||||
|
||||
if (wPreferences.auto_arrange_icons)
|
||||
wArrangeIcons(dock->screen_ptr, True);
|
||||
@@ -2344,7 +2344,7 @@ Bool wDockMoveIconBetweenDocks(WDock *src, WDock *dest, WAppIcon *icon, int x, i
|
||||
icon->icon->shadowed = 0;
|
||||
update_icon = True;
|
||||
}
|
||||
save_appicon(icon, True);
|
||||
save_appicon(icon);
|
||||
}
|
||||
|
||||
if (src->auto_collapse || src->auto_raise_lower)
|
||||
|
||||
Reference in New Issue
Block a user