Commit ef7feb72 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

config: remove advanced from add_module.*_cat()

parent c8643659
......@@ -394,11 +394,11 @@ VLC_METADATA_EXPORTS
vlc_config_set (VLC_CONFIG_CAPABILITY, (const char *)(psz_caps));
#ifndef __PLUGIN__
#define add_module_cat( name, i_subcategory, value, text, longtext, advc ) \
#define add_module_cat(name, i_subcategory, value, text, longtext) \
add_string_inner(CONFIG_ITEM_MODULE_CAT, name, text, longtext, value) \
change_integer_range (i_subcategory /* gruik */, 0);
#define add_module_list_cat( name, i_subcategory, value, text, longtext, advc ) \
#define add_module_list_cat(name, i_subcategory, value, text, longtext) \
add_string_inner(CONFIG_ITEM_MODULE_LIST_CAT, name, text, longtext, \
value) \
change_integer_range (i_subcategory /* gruik */, 0);
......
......@@ -2154,16 +2154,16 @@ vlc_module_begin ()
add_bool ( "stats", true, STATS_TEXT, STATS_LONGTEXT, true )
set_subcategory( SUBCAT_INTERFACE_MAIN )
add_module_cat( "intf", SUBCAT_INTERFACE_MAIN, NULL, INTF_TEXT,
INTF_LONGTEXT, false )
add_module_cat("intf", SUBCAT_INTERFACE_MAIN, NULL,
INTF_TEXT, INTF_LONGTEXT)
change_short('I')
add_module_list_cat( "extraintf", SUBCAT_INTERFACE_MAIN, NULL,
EXTRAINTF_TEXT, EXTRAINTF_LONGTEXT, false )
add_module_list_cat("extraintf", SUBCAT_INTERFACE_MAIN, NULL,
EXTRAINTF_TEXT, EXTRAINTF_LONGTEXT)
set_subcategory( SUBCAT_INTERFACE_CONTROL )
add_module_list_cat( "control", SUBCAT_INTERFACE_CONTROL, NULL,
CONTROL_TEXT, CONTROL_LONGTEXT, false )
add_module_list_cat("control", SUBCAT_INTERFACE_CONTROL, NULL,
CONTROL_TEXT, CONTROL_LONGTEXT)
/* Hotkey options*/
set_subcategory( SUBCAT_INTERFACE_HOTKEYS )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment