From 635b960629ef17daed73d742fb6cb78ea6b1d4a7 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sun, 17 Mar 2024 17:00:27 +0100 Subject: Fix memory leaks and refactor menu button --- src/draw.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/draw.h') diff --git a/src/draw.h b/src/draw.h index 6a14ad1..6d0119f 100644 --- a/src/draw.h +++ b/src/draw.h @@ -45,6 +45,8 @@ Drawer *draw_create(); void draw_paint(Drawer *draw, Window *win); +void layout_destroy(Layout *layout); + // TODO: Rework the api so that we don't need to pass the window void draw_compute_layout(Drawer *draw, Window *win, GList *btns); -- cgit v1.2.3