mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +01:00
WINGs: remove unused macro NFONT in wbutton
As pointed by gcc, this macro is never used in the code; when no font is defined by user the 'paintButton' code already falls back to the 'normalFont' of the screen, and this code could not need the macro anyway. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
4b0838e93a
commit
e09df40f78
@@ -98,7 +98,6 @@ static void handleActionEvents(XEvent * event, void *data);
|
||||
|
||||
static char *WMPushedRadioNotification = "WMPushedRadioNotification";
|
||||
|
||||
#define NFONT(b) (b)->view->screen->normalFont
|
||||
|
||||
WMButton *WMCreateCustomButton(WMWidget * parent, int behaviourMask)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user