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.cu...@free.fr> --- WINGs/wbutton.c | 1 - 1 file changed, 1 deletion(-) diff --git a/WINGs/wbutton.c b/WINGs/wbutton.c index c217edd..8c8e4dc 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) { -- 2.1.3 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.