253:087cc9216f28 | 254:13997c76859b |
---|---|
219 | 219 |
220 cxMapPut(toolbar_items, name, cb); | 220 cxMapPut(toolbar_items, name, cb); |
221 } | 221 } |
222 | 222 |
223 | 223 |
224 void ui_toolbar_add_default(const char *name, enum UiToolbarPos pos) { | |
225 char *s = strdup(name); | |
226 cxListAdd(defaults, s); | |
227 } | |
228 | |
229 GtkWidget* ui_create_toolbar(UiObject *obj) { | 224 GtkWidget* ui_create_toolbar(UiObject *obj) { |
230 if(!defaults) { | 225 if(!defaults) { |
231 return NULL; | 226 return NULL; |
232 } | 227 } |
233 | 228 |