ui/gtk/toolbar.c

changeset 44
473954dc6b74
parent 42
9af327d0e0e4
child 46
31bc86844659
--- 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) {

mercurial