#include "./backend/Inc/stend_logic.h" #include "./ui/Inc/MainForm.h" Widgets widgets; int main(int argc, char *argv[]){ //Инициализация GTK gtk_init(&argc, &argv); GtkWidget *window = create_main_window(); pthread_t stend_logic_thread; pthread_create(&stend_logic_thread, NULL, stend_logic, NULL); gtk_main(); }