summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-12-08 23:54:07 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-12-08 23:54:07 +0100
commit641de51bdbd449196c0d54102d17641cd4b5d3d7 (patch)
tree820e555781f6cb2d55bd06b5b71ee9ef083436d9 /src/gui/gui-bar.c
parent3f2155e548c0ebe86a694f69630f41d7503f679c (diff)
downloadweechat-641de51bdbd449196c0d54102d17641cd4b5d3d7.zip
api: allow creation of structure with hdata_update (allowed for hdata "history")
Diffstat (limited to 'src/gui/gui-bar.c')
-rw-r--r--src/gui/gui-bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c
index 66c839416..32fb6f33a 100644
--- a/src/gui/gui-bar.c
+++ b/src/gui/gui-bar.c
@@ -2253,7 +2253,7 @@ gui_bar_hdata_bar_cb (void *data, const char *hdata_name)
(void) data;
hdata = hdata_new (NULL, hdata_name, "prev_bar", "next_bar",
- 0, NULL, NULL);
+ 0, 0, NULL, NULL);
if (hdata)
{
HDATA_VAR(struct t_gui_bar, name, STRING, 0, NULL, NULL);