ui/gtk/toolbar.c

branch
newapi
changeset 253
087cc9216f28
parent 174
0358f1d9c506
child 254
13997c76859b
--- a/ui/gtk/toolbar.c	Sun Feb 11 15:44:33 2024 +0100
+++ b/ui/gtk/toolbar.c	Sun Feb 11 22:06:23 2024 +0100
@@ -34,7 +34,7 @@
 #include "button.h"
 #include "image.h"
 #include "tree.h"
-#include <cx/basic_mempool.h>
+#include <cx/mempool.h>
 #include <cx/hash_map.h>
 #include <cx/linked_list.h>
 #include <cx/array_list.h>
@@ -221,7 +221,7 @@
 }
 
 
-void ui_toolbar_add_default(char *name) {
+void ui_toolbar_add_default(const char *name, enum UiToolbarPos pos) {
     char *s = strdup(name);
     cxListAdd(defaults, s);
 }

mercurial