--- a/ui/gtk/button.c Fri Feb 16 18:33:34 2024 +0100 +++ b/ui/gtk/button.c Fri Feb 16 19:00:53 2024 +0100 @@ -142,6 +142,8 @@ event->obj = obj; event->var = var; event->observers = NULL; + event->callback = NULL; + event->userdata = NULL; g_signal_connect( widget, @@ -214,6 +216,8 @@ event->obj = obj; event->var = var; event->observers = NULL; + event->callback = NULL; + event->userdata = NULL; g_signal_connect( rbutton,