aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-17 12:12:54 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-17 12:12:54 +0000
commit89543e999db80310cf10f41c1486cc666d6df460 (patch)
tree09d305c58445b7e398c15034351372e057f002ef /tmux.h
parentfc17ce015076668f033beebf84e6bce96397adcb (diff)
downloadrtmux-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 5ed93974..85470ab0 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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);