From eab011073224b13ada61f80f3731e8dd459b7bfa Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 20 Jul 2012 18:12:07 +0200 Subject: core: add support of arrays in hdata variables --- src/gui/gui-filter.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/gui/gui-filter.c') diff --git a/src/gui/gui-filter.c b/src/gui/gui-filter.c index fa149b37b..6f4ea13f8 100644 --- a/src/gui/gui-filter.c +++ b/src/gui/gui-filter.c @@ -452,19 +452,19 @@ gui_filter_hdata_filter_cb (void *data, const char *hdata_name) hdata = hdata_new (NULL, hdata_name, "prev_filter", "next_filter"); if (hdata) { - HDATA_VAR(struct t_gui_filter, enabled, INTEGER, NULL); - HDATA_VAR(struct t_gui_filter, name, STRING, NULL); - HDATA_VAR(struct t_gui_filter, buffer_name, STRING, NULL); - HDATA_VAR(struct t_gui_filter, num_buffers, INTEGER, NULL); - HDATA_VAR(struct t_gui_filter, buffers, POINTER, NULL); - HDATA_VAR(struct t_gui_filter, tags, STRING, NULL); - HDATA_VAR(struct t_gui_filter, tags_count, INTEGER, NULL); - HDATA_VAR(struct t_gui_filter, tags_array, POINTER, NULL); - HDATA_VAR(struct t_gui_filter, regex, STRING, NULL); - HDATA_VAR(struct t_gui_filter, regex_prefix, POINTER, NULL); - HDATA_VAR(struct t_gui_filter, regex_message, POINTER, NULL); - HDATA_VAR(struct t_gui_filter, prev_filter, POINTER, hdata_name); - HDATA_VAR(struct t_gui_filter, next_filter, POINTER, hdata_name); + HDATA_VAR(struct t_gui_filter, enabled, INTEGER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, name, STRING, NULL, NULL); + HDATA_VAR(struct t_gui_filter, buffer_name, STRING, NULL, NULL); + HDATA_VAR(struct t_gui_filter, num_buffers, INTEGER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, buffers, POINTER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, tags, STRING, NULL, NULL); + HDATA_VAR(struct t_gui_filter, tags_count, INTEGER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, tags_array, STRING, "tags_count", NULL); + HDATA_VAR(struct t_gui_filter, regex, STRING, NULL, NULL); + HDATA_VAR(struct t_gui_filter, regex_prefix, POINTER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, regex_message, POINTER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, prev_filter, POINTER, NULL, hdata_name); + HDATA_VAR(struct t_gui_filter, next_filter, POINTER, NULL, hdata_name); HDATA_LIST(gui_filters); HDATA_LIST(last_gui_filter); } -- cgit v1.2.3