[vlc-commits] config: remove advanced from add_module.*_cat()
Rémi Denis-Courmont
git at videolan.org
Tue Apr 24 20:42:33 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Apr 24 21:01:54 2018 +0300| [ef7feb729c74697e1ee5bc852affd4df2cf6a8fe] | committer: Rémi Denis-Courmont
config: remove advanced from add_module.*_cat()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef7feb729c74697e1ee5bc852affd4df2cf6a8fe
---
include/vlc_plugin.h | 4 ++--
src/libvlc-module.c | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h
index 65985c1dcd..6adef10644 100644
--- a/include/vlc_plugin.h
+++ b/include/vlc_plugin.h
@@ -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);
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 42f05916f8..6d4af224b9 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -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 )
More information about the vlc-commits
mailing list