summaryrefslogtreecommitdiff
path: root/client/common/common.h
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2017-02-14 21:51:02 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2017-02-14 21:51:02 +0200
commit8cfa530b89c9daed987d1ffd6b3481838e23997a (patch)
tree2112f130aad45b3dad13ceb033de9e55039bf739 /client/common/common.h
parent0ff5f2017801f52789e2fa658f609abdfbd4fa28 (diff)
downloadbemenu-8cfa530b89c9daed987d1ffd6b3481838e23997a.tar.gz
bemenu-8cfa530b89c9daed987d1ffd6b3481838e23997a.tar.bz2
bemenu-8cfa530b89c9daed987d1ffd6b3481838e23997a.zip
bemenu: Reuse code more
Diffstat (limited to 'client/common/common.h')
-rw-r--r--client/common/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/common/common.h b/client/common/common.h
index 0e53835..af03127 100644
--- a/client/common/common.h
+++ b/client/common/common.h
@@ -20,7 +20,7 @@ struct client {
void parse_args(struct client *client, int *argc, char **argv[]);
struct bm_menu* menu_with_options(const struct client *client);
-enum bm_run_result run_menu(struct bm_menu *menu);
+enum bm_run_result run_menu(const struct client *client, struct bm_menu *menu, void (*item_cb)(struct bm_item *item, const char *text));
#endif /* _BM_COMMON_H_ */