From e09df40f78c5439ddc8fab65f7ec509879bea03a Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Mon, 8 Dec 2014 22:42:29 +0100 Subject: [PATCH] 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 --- WINGs/wbutton.c | 1 - 1 file changed, 1 deletion(-) diff --git a/WINGs/wbutton.c b/WINGs/wbutton.c index c217edd4..8c8e4dce 100644 --- a/WINGs/wbutton.c +++ b/WINGs/wbutton.c @@ -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) {