aboutsummaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index d0e2e12..880c8ff 100644
--- a/src/state.c
+++ b/src/state.c
@@ -126,7 +126,7 @@ void state_request_animation(State *state)
void state_destroy(State *state)
{
- g_list_free_full(state->btns, (void *)button_destroy);
+ g_list_free_full(state->btns, (GDestroyNotify)button_destroy);
g_free(state);
}