static void kb_callback(guint key_id) { switch (key_id) { case KB_SWAP_HEADER_SOURCE: on_swap_header_source(NULL, NULL); break; case KB_FIND_IN_PROJECT: on_find_in_project(NULL, NULL); break; case KB_FIND_FILE: on_find_file(NULL, NULL); break; } }
/* Keybinding callback */ static void kb_find_in_project(guint key_id) { on_find_in_project(NULL, NULL); }