From 5765bea99e1d497063ab312d879390b0dd3d2efd Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Thu, 14 Mar 2024 23:42:39 +0100 Subject: Add layout animations and refactor --- src/comet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comet.c') diff --git a/src/comet.c b/src/comet.c index ea574cc..3ec6bc7 100644 --- a/src/comet.c +++ b/src/comet.c @@ -306,7 +306,7 @@ int main(int argc, char **argv) // Date & time button Button *date_btn = button_simple_create(PANGO_ALIGN_CENTER, color, line_color); button_simple_set_text(date_btn, g_strdup("date"), text_color); - button_simple_set_action(date_btn, show_action, &date_ctx); + button_simple_set_action(date_btn, NULL, &date_ctx); state_add_button(state, date_btn); struct sigevent sev = { 0 }; -- cgit v1.2.3