ui-tree: move set_title_from_path to ui-shared

The ui-blame code will also need to call set_title_from_path, so go
ahead and move it to ui-shared.

Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
Tá an tiomantas seo le fáil i:
Jeff Smith
2017-10-01 23:39:06 -05:00
tiomanta ag John Keeping
tuismitheoir 70787254b2
tiomantas 9337c7ee83
D'athraigh 3 comhad le 35 breiseanna agus 33 scriosta

Féach ar an gComhad

@ -77,4 +77,6 @@ extern void cgit_print_snapshot_links(const char *repo, const char *head,
const char *hex, int snapshots);
extern void cgit_add_hidden_formfields(int incl_head, int incl_search,
const char *page);
extern void cgit_set_title_from_path(const char *path);
#endif /* UI_SHARED_H */