aboutsummaryrefslogtreecommitdiff
path: root/src/button.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-16 15:34:14 +0100
committerFederico Angelilli <code@fedang.net>2024-03-16 15:34:14 +0100
commit40ca9598d269c9b6f162e80b5293f83ec37bb75d (patch)
tree8e7e9627ca94fa87382d95fb83ee0f14385ff286 /src/button.h
parent15baf349fa6985262da39b70f2d496af104c478d (diff)
Refactor and fix a couple leaks
Diffstat (limited to 'src/button.h')
-rw-r--r--src/button.h3
1 files changed, 1 insertions, 2 deletions
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 {