summaryrefslogtreecommitdiff
path: root/src/gui/gui-layout.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-05-24 18:03:14 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-05-24 18:03:14 +0200
commit7aaf3be15bdb3ff2bd9815cc35bd1699c20ce7a6 (patch)
treedb50043debf82a51dbab4c73f27342dec36d2fee /src/gui/gui-layout.c
parent3092c09bc96438afb005c6ce11b07309a945ebc7 (diff)
downloadweechat-7aaf3be15bdb3ff2bd9815cc35bd1699c20ce7a6.zip
api: add argument "flags" in function hdata_new_list
Diffstat (limited to 'src/gui/gui-layout.c')
-rw-r--r--src/gui/gui-layout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui-layout.c b/src/gui/gui-layout.c
index 4ca76d213..d7bf7179a 100644
--- a/src/gui/gui-layout.c
+++ b/src/gui/gui-layout.c
@@ -954,9 +954,9 @@ gui_layout_hdata_layout_cb (void *data, const char *hdata_name)
HDATA_VAR(struct t_gui_layout, internal_id_current_window, INTEGER, 0, NULL, NULL);
HDATA_VAR(struct t_gui_layout, prev_layout, POINTER, 0, NULL, hdata_name);
HDATA_VAR(struct t_gui_layout, next_layout, POINTER, 0, NULL, hdata_name);
- HDATA_LIST(gui_layouts);
- HDATA_LIST(last_gui_layout);
- HDATA_LIST(gui_layout_current);
+ HDATA_LIST(gui_layouts, WEECHAT_HDATA_LIST_CHECK_POINTERS);
+ HDATA_LIST(last_gui_layout, 0);
+ HDATA_LIST(gui_layout_current, 0);
}
return hdata;
}