mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-08 01:04:06 +01: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;
|
char *input_str;
|
||||||
|
|
||||||
void (*callbackfn)(struct window_choose_data *);
|
void (*callbackfn)(struct window_choose_data *);
|
||||||
void (*freefn)(struct window_choose_data *);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int window_choose_key_index(struct window_choose_mode_data *, u_int);
|
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);
|
wp->modedata = data = xmalloc(sizeof *data);
|
||||||
|
|
||||||
data->callbackfn = NULL;
|
data->callbackfn = NULL;
|
||||||
data->freefn = NULL;
|
|
||||||
data->input_type = WINDOW_CHOOSE_NORMAL;
|
data->input_type = WINDOW_CHOOSE_NORMAL;
|
||||||
data->input_str = xstrdup("");
|
data->input_str = xstrdup("");
|
||||||
data->input_prompt = NULL;
|
data->input_prompt = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user