summaryrefslogtreecommitdiff
path: root/src/gui/gui-hotlist.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-09-24 21:45:01 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-09-24 21:45:01 +0200
commitc1aa51fa9c9143729455c2fe19b70965abd82375 (patch)
tree920a05c937b81c3279074b9b3c14b055ec812412 /src/gui/gui-hotlist.h
parentf91f57f12c2266db28b9e81254ce494c07e8db35 (diff)
downloadweechat-c1aa51fa9c9143729455c2fe19b70965abd82375.zip
core: fix crash on buffer close when option weechat.look.hotlist_remove is set to "merged" (closes #199)
Diffstat (limited to 'src/gui/gui-hotlist.h')
-rw-r--r--src/gui/gui-hotlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui-hotlist.h b/src/gui/gui-hotlist.h
index 18cec9702..d53348823 100644
--- a/src/gui/gui-hotlist.h
+++ b/src/gui/gui-hotlist.h
@@ -59,7 +59,8 @@ extern struct t_gui_hotlist *gui_hotlist_add (struct t_gui_buffer *buffer,
struct timeval *creation_time);
extern void gui_hotlist_resort ();
extern void gui_hotlist_clear ();
-extern void gui_hotlist_remove_buffer (struct t_gui_buffer *buffer);
+extern void gui_hotlist_remove_buffer (struct t_gui_buffer *buffer,
+ int force_remove_buffer);
extern struct t_hdata *gui_hotlist_hdata_hotlist_cb (void *data,
const char *hdata_name);
extern int gui_hotlist_add_to_infolist (struct t_infolist *infolist,