From ab92cac18652f72be12f68b5a96095ba8eb5afdf Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Fri, 17 Nov 2023 15:42:49 +0100 Subject: Reorganize project structure --- state.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 state.c (limited to 'state.c') diff --git a/state.c b/state.c deleted file mode 100644 index bb31fa6..0000000 --- a/state.c +++ /dev/null @@ -1,21 +0,0 @@ -#include - -#include "state.h" - -State *state_create(Window *win, Drawable *draw) -{ - State *state = g_malloc(sizeof(State)); - g_assert_nonnull(state); - - state->win = win; - state->draw = draw; - - return state; -} - -void state_destroy(State *state) -{ - g_free(state); -} - -// vim: ts=4 sw=4 et -- cgit v1.2.3