From 76ee3b16442a4f7a59c72ac2b197854d932f05d4 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Fri, 25 Nov 2016 09:20:24 +0300 Subject: [PATCH] WCheck: remove unused C_CHANGE. Signed-off-by: Andrew Borodin --- lib/widget/check.c | 1 - lib/widget/check.h | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/widget/check.c b/lib/widget/check.c index 626101d19..08d749e63 100644 --- a/lib/widget/check.c +++ b/lib/widget/check.c @@ -74,7 +74,6 @@ check_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *d if (parm != ' ') return MSG_NOT_HANDLED; c->state ^= C_BOOL; - c->state ^= C_CHANGE; widget_redraw (w); send_message (w->owner, w, MSG_NOTIFY, (int) MSG_KEY, NULL); return MSG_HANDLED; diff --git a/lib/widget/check.h b/lib/widget/check.h index ed541399d..1ddfa3093 100644 --- a/lib/widget/check.h +++ b/lib/widget/check.h @@ -11,7 +11,6 @@ #define CHECK(x) ((WCheck *)(x)) #define C_BOOL 0x0001 -#define C_CHANGE 0x0002 /*** enums ***************************************************************************************/