summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-bar-window.c')
-rw-r--r--src/gui/gui-bar-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/gui-bar-window.c b/src/gui/gui-bar-window.c
index ad09d563d..e630565d1 100644
--- a/src/gui/gui-bar-window.c
+++ b/src/gui/gui-bar-window.c
@@ -1,7 +1,7 @@
/*
* gui-bar-window.c - bar window functions (used by all GUI)
*
- * Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
+ * Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
*
@@ -1524,11 +1524,13 @@ gui_bar_window_scroll (struct t_gui_bar_window *bar_window,
*/
struct t_hdata *
-gui_bar_window_hdata_bar_window_cb (void *data, const char *hdata_name)
+gui_bar_window_hdata_bar_window_cb (const void *pointer, void *data,
+ const char *hdata_name)
{
struct t_hdata *hdata;
/* make C compiler happy */
+ (void) pointer;
(void) data;
hdata = hdata_new (NULL, hdata_name, "prev_bar_window", "next_bar_window",