From 5beabe1a69e6dda3e139e95d24c3e9c8e027990a Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 9 Jan 2018 02:15:21 +0100 Subject: Sources and import cleanup Signed-off-by: pacien --- src/gui/button.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/gui/button.c') diff --git a/src/gui/button.c b/src/gui/button.c index 35ac2ed..1ed5965 100644 --- a/src/gui/button.c +++ b/src/gui/button.c @@ -1,12 +1,11 @@ +#include "gui/button.h" #include #include #include #include -#include "gui/button.h" -#include "MLV/MLV_all.h" +#include #include "common/mem.h" - static bool button_is_selected(int x, int y, Button *button) { assert(button != NULL); int x1 = button->component.x_pos; @@ -104,8 +103,8 @@ Button *button_create(const char *text, int sizeInterligne, int x_pos, int y_pos return button; } -void button_destroy(Button *button){ +void button_destroy(Button *button) { assert(button != NULL); free(button->label); free(button); -} \ No newline at end of file +} -- cgit v1.2.3