summaryrefslogtreecommitdiff
path: root/src/gui/gui-buffer.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-buffer.c
parent3092c09bc96438afb005c6ce11b07309a945ebc7 (diff)
downloadweechat-7aaf3be15bdb3ff2bd9815cc35bd1699c20ce7a6.zip
api: add argument "flags" in function hdata_new_list
Diffstat (limited to 'src/gui/gui-buffer.c')
-rw-r--r--src/gui/gui-buffer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c
index ae4a2a995..2bc130961 100644
--- a/src/gui/gui-buffer.c
+++ b/src/gui/gui-buffer.c
@@ -4024,9 +4024,9 @@ gui_buffer_hdata_buffer_cb (void *data, const char *hdata_name)
HDATA_VAR(struct t_gui_buffer, local_variables, HASHTABLE, 0, NULL, NULL);
HDATA_VAR(struct t_gui_buffer, prev_buffer, POINTER, 0, NULL, hdata_name);
HDATA_VAR(struct t_gui_buffer, next_buffer, POINTER, 0, NULL, hdata_name);
- HDATA_LIST(gui_buffers);
- HDATA_LIST(last_gui_buffer);
- HDATA_LIST(gui_buffer_last_displayed);
+ HDATA_LIST(gui_buffers, WEECHAT_HDATA_LIST_CHECK_POINTERS);
+ HDATA_LIST(last_gui_buffer, 0);
+ HDATA_LIST(gui_buffer_last_displayed, 0);
}
return hdata;
}
@@ -4074,8 +4074,8 @@ gui_buffer_hdata_buffer_visited_cb (void *data, const char *hdata_name)
HDATA_VAR(struct t_gui_buffer_visited, buffer, POINTER, 0, NULL, "buffer");
HDATA_VAR(struct t_gui_buffer_visited, prev_buffer, POINTER, 0, NULL, hdata_name);
HDATA_VAR(struct t_gui_buffer_visited, next_buffer, POINTER, 0, NULL, hdata_name);
- HDATA_LIST(gui_buffers_visited);
- HDATA_LIST(last_gui_buffer_visited);
+ HDATA_LIST(gui_buffers_visited, WEECHAT_HDATA_LIST_CHECK_POINTERS);
+ HDATA_LIST(last_gui_buffer_visited, 0);
}
return hdata;
}