--- a/ui/common/types.c Sun Nov 10 09:12:30 2024 +0100 +++ b/ui/common/types.c Sun Nov 10 15:30:46 2024 +0100 @@ -37,6 +37,8 @@ #include "types.h" #include "context.h" + + UiObserver* ui_observer_new(ui_callback f, void *data) { UiObserver *observer = malloc(sizeof(UiObserver)); observer->callback = f;