diff -r e79a60b3a7cb -r 7c3ff86ee9d4 ui/motif/toolkit.c --- a/ui/motif/toolkit.c Sun Apr 16 10:20:21 2023 +0200 +++ b/ui/motif/toolkit.c Tue May 23 11:11:28 2023 +0200 @@ -36,7 +36,7 @@ #include "stock.h" #include "../common/document.h" #include "../common/properties.h" -#include +#include static XtAppContext app; static Display *display; @@ -206,6 +206,7 @@ XtAppAddWorkProc(app, ui_job_finished, job); } + return NULL; } void ui_job(UiObject *obj, ui_threadfunc tf, void *td, ui_callback f, void *fd) {