From 40ca9598d269c9b6f162e80b5293f83ec37bb75d Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sat, 16 Mar 2024 15:34:14 +0100 Subject: Refactor and fix a couple leaks --- src/button.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/button.h') diff --git a/src/button.h b/src/button.h index 423e29a..d1516fc 100644 --- a/src/button.h +++ b/src/button.h @@ -31,8 +31,7 @@ typedef struct { Color text_color; char *text; ButtonAction action; - // TODO: Add a GDestroyNotify - gpointer action_data; + gpointer data; } ButtonSimple; typedef struct { -- cgit v1.2.3