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

plugin: remove non-existent subcategory hint items type

parent d8d74407
......@@ -110,8 +110,6 @@ enum vlc_module_properties
/* Configuration hint types */
#define CONFIG_HINT_CATEGORY 0x02 /* Start of new category */
#define CONFIG_HINT_SUBCATEGORY 0x03 /* Start of sub-category */
#define CONFIG_HINT_SUBCATEGORY_END 0x04 /* End of sub-category */
#define CONFIG_HINT_USAGE 0x05 /* Usage information */
#define CONFIG_CATEGORY 0x06 /* Set category */
......@@ -362,12 +360,6 @@ VLC_METADATA_EXPORTS
#define add_category_hint( text, longtext, advc ) \
add_typeadv_inner( CONFIG_HINT_CATEGORY, text, longtext, advc )
#define add_subcategory_hint( text, longtext ) \
add_typedesc_inner( CONFIG_HINT_SUBCATEGORY, text, longtext )
#define end_subcategory_hint \
add_type_inner( CONFIG_HINT_SUBCATEGORY_END )
#define add_usage_hint( text ) \
add_typedesc_inner( CONFIG_HINT_USAGE, text, NULL )
......
......@@ -417,9 +417,6 @@ static void Usage (vlc_object_t *p_this, char const *psz_search)
}
break;
case CONFIG_HINT_SUBCATEGORY:
if( strcmp( "main", objname ) )
break;
case CONFIG_SECTION:
p_section = p_item;
break;
......
......@@ -1440,7 +1440,6 @@ static const char *const mouse_wheel_texts[] =
* Quick usage guide for the configuration options:
*
* add_category_hint( N_(text), N_(longtext), b_advanced_option )
* add_subcategory_hint( N_(text), N_(longtext), b_advanced_option )
* add_usage_hint( N_(text), b_advanced_option )
* add_string( option_name, value, N_(text), N_(longtext),
b_advanced_option )
......
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