Mercurial > molko
comparison libmlk-ui/ui/checkbox.c @ 298:196264679079
misc: remove usage of bool
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 10 Mar 2021 18:49:08 +0100 |
parents | 71b3b7036de7 |
children | d01e83210ca2 |
comparison
equal
deleted
inserted
replaced
297:6151152d009c | 298:196264679079 |
---|---|
26 | 26 |
27 #include "label.h" | 27 #include "label.h" |
28 #include "checkbox.h" | 28 #include "checkbox.h" |
29 #include "theme.h" | 29 #include "theme.h" |
30 | 30 |
31 static bool | 31 static int |
32 is_boxed(const struct checkbox *cb, const struct event_click *click) | 32 is_boxed(const struct checkbox *cb, const struct event_click *click) |
33 { | 33 { |
34 assert(cb); | 34 assert(cb); |
35 assert(click && click->type == EVENT_CLICKDOWN); | 35 assert(click && click->type == EVENT_CLICKDOWN); |
36 | 36 |