mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 17:39:09 +00:00
No more need for freefn.
This commit is contained in:
parent
68e370574a
commit
fc6f08d5b7
@ -75,7 +75,6 @@ struct window_choose_mode_data {
|
||||
char *input_str;
|
||||
|
||||
void (*callbackfn)(struct window_choose_data *);
|
||||
void (*freefn)(struct window_choose_data *);
|
||||
};
|
||||
|
||||
int window_choose_key_index(struct window_choose_mode_data *, u_int);
|
||||
@ -131,7 +130,6 @@ window_choose_init(struct window_pane *wp)
|
||||
wp->modedata = data = xmalloc(sizeof *data);
|
||||
|
||||
data->callbackfn = NULL;
|
||||
data->freefn = NULL;
|
||||
data->input_type = WINDOW_CHOOSE_NORMAL;
|
||||
data->input_str = xstrdup("");
|
||||
data->input_prompt = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user