diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-17 12:12:54 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-17 12:12:54 +0000 |
commit | 89543e999db80310cf10f41c1486cc666d6df460 (patch) | |
tree | 09d305c58445b7e398c15034351372e057f002ef /tmux.h | |
parent | fc17ce015076668f033beebf84e6bce96397adcb (diff) | |
download | rtmux-89543e999db80310cf10f41c1486cc666d6df460.tar.gz rtmux-89543e999db80310cf10f41c1486cc666d6df460.tar.bz2 rtmux-89543e999db80310cf10f41c1486cc666d6df460.zip |
A similar for fix for window_choose: don't rely on the callback always being
called to free data, have a separate free callback and call it from the mode
cleanup code.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.367 2009-07-17 09:26:21 nicm Exp $ */ +/* $Id: tmux.h,v 1.368 2009-07-17 12:12:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1489,7 +1489,7 @@ void window_choose_vadd( void printflike3 window_choose_add( struct window_pane *, int, const char *, ...); void window_choose_ready(struct window_pane *, - u_int, void (*)(void *, int), void *); + u_int, void (*)(void *, int), void (*)(void *), void *); /* names.c */ void set_window_names(void); |