diff options
| author | Federico Angelilli <code@fedang.net> | 2024-03-16 15:34:14 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-03-16 15:34:14 +0100 |
| commit | 40ca9598d269c9b6f162e80b5293f83ec37bb75d (patch) | |
| tree | 8e7e9627ca94fa87382d95fb83ee0f14385ff286 /src/button.c | |
| parent | 15baf349fa6985262da39b70f2d496af104c478d (diff) | |
Refactor and fix a couple leaks
Diffstat (limited to 'src/button.c')
| -rw-r--r-- | src/button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/button.c b/src/button.c index 05a77ef..bf3c575 100644 --- a/src/button.c +++ b/src/button.c @@ -32,7 +32,7 @@ void button_simple_set_action(Button *btn, ButtonAction action, gpointer data) { g_assert(btn->simple); CAST(btn, ButtonSimple)->action = action; - CAST(btn, ButtonSimple)->action_data = data; + CAST(btn, ButtonSimple)->data = data; } ButtonAction button_simple_get_action(Button *btn) |
