--- a/ui/common/types.c Sun Nov 10 10:16:47 2024 +0100 +++ b/ui/common/types.c Sun Nov 10 15:27:44 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;