--- a/ui/gtk/toolbar.c Mon Jun 17 21:20:58 2024 +0200 +++ b/ui/gtk/toolbar.c Sun Sep 29 13:32:51 2024 +0200 @@ -361,9 +361,9 @@ CxList *center_defaults = uic_get_toolbar_defaults(UI_TOOLBAR_CENTER); CxList *right_defaults = uic_get_toolbar_defaults(UI_TOOLBAR_RIGHT); - ui_headerbar_add_items(obj, headerbar, items, left_defaults); - ui_headerbar_add_items(obj, headerbar, items, center_defaults); - ui_headerbar_add_items(obj, headerbar, items, right_defaults); + ui_toolbar_headerbar_add_items(obj, headerbar, items, left_defaults); + ui_toolbar_headerbar_add_items(obj, headerbar, items, center_defaults); + ui_toolbar_headerbar_add_items(obj, headerbar, items, right_defaults); return headerbar; } @@ -388,7 +388,7 @@ } -void ui_headerbar_add_items(UiObject *obj, GtkWidget *headerbar, CxMap *items, CxList *defaults) { +void ui_toolbar_headerbar_add_items(UiObject *obj, GtkWidget *headerbar, CxMap *items, CxList *defaults) { // add pre-configured items CxIterator i = cxListIterator(defaults); cx_foreach(char*, def, i) {