---
 trunk/window-choose.c |   13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/trunk/window-choose.c b/trunk/window-choose.c
index a8b8230..8196435 100644
--- a/trunk/window-choose.c
+++ b/trunk/window-choose.c
@@ -53,25 +53,18 @@ struct window_choose_mode_data {
 
        struct mode_key_data    mdata;
 
-       ARRAY_DECL(, struct window_choose_item) list;
+       ARRAY_DECL(, struct window_choose_mode_item) list;
        u_int                   top;
        u_int                   selected;
 
-       void                    (*callbackfn)(void *, int);
-       void                    (*freefn)(void *);
+       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_index_key(struct window_choose_mode_data *, int);
 
 void
-window_choose_vadd(struct window_pane *wp, int idx, const char *fmt, va_list 
ap)
-{
-       xvasprintf(&item->name, fmt, ap);
-       item->idx = idx;
-}
-
-void
 window_choose_add(struct window_pane *wp, struct window_choose_data *wcd)
 {
        struct window_choose_mode_data  *data = wp->modedata;
-- 
1.7.10


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to