aboutsummaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.h b/menu.h
index 039cac7..724aa53 100644
--- a/menu.h
+++ b/menu.h
@@ -74,12 +74,12 @@ struct menu {
};
struct menu *menu_create();
+void menu_destroy(struct menu *menu);
void menu_getopts(struct menu *menu, int argc, char *argv[]);
-void menu_add_item(struct menu *menu, char *text);
+void menu_add_item(struct menu *menu, char *text, bool sort);
void menu_render_items(struct menu *menu);
void menu_paste(struct menu *menu, const char *text, ssize_t len);
void menu_keypress(struct menu *menu, enum wl_keyboard_key_state key_state,
xkb_keysym_t sym);
-void menu_destroy(struct menu *menu);
#endif