--- a/ui/gtk/menu.c Fri Jun 14 18:24:31 2024 +0200 +++ b/ui/gtk/menu.c Sun Jun 16 11:36:27 2024 +0200 @@ -42,6 +42,8 @@ #include <cx/linked_list.h> #include <cx/array_list.h> +#if UI_GTK2 || UI_GTK3 + static ui_menu_add_f createMenuItem[] = { /* UI_MENU */ add_menu_widget, @@ -498,3 +500,5 @@ cxListDestroy(groups); } } + +#endif /* UI_GTK2 || UI_GTK3 */