aboutsummaryrefslogtreecommitdiff
path: root/src/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/button.c')
-rw-r--r--src/button.c2
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)