Merge branch 't/image-0.5'
[paraslash.git] / amp_filter.c
index 186f87a52a8656eb6f42cc28913e5fbf31b9d251..f62ea8a2f50962182e158ce8da7f18fb4ec1df4f 100644 (file)
@@ -134,11 +134,8 @@ void amp_filter_init(struct filter *f)
        f->open = amp_open;
        f->close = amp_close;
        f->pre_select = generic_filter_pre_select;
-       f->new_post_select = amp_post_select;
+       f->post_select = amp_post_select;
        f->parse_config = amp_parse_config;
        f->free_config = amp_free_config;
-       f->help = (struct ggo_help) {
-               .short_help = amp_filter_args_info_help,
-               .detailed_help = amp_filter_args_info_detailed_help
-       };
+       f->help = (struct ggo_help)DEFINE_GGO_HELP(amp_filter);
 }