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

add_directory: remove callback parameter

parent 989310c9
...@@ -315,7 +315,7 @@ enum vlc_module_properties ...@@ -315,7 +315,7 @@ enum vlc_module_properties
add_string_inner( CONFIG_ITEM_SAVEFILE, name, text, longtext, advc, \ add_string_inner( CONFIG_ITEM_SAVEFILE, name, text, longtext, advc, \
value ) value )
#define add_directory( name, value, p_callback, text, longtext, advc ) \ #define add_directory( name, value, text, longtext, advc ) \
add_string_inner( CONFIG_ITEM_DIRECTORY, name, text, longtext, advc, \ add_string_inner( CONFIG_ITEM_DIRECTORY, name, text, longtext, advc, \
value ) value )
......
...@@ -113,7 +113,7 @@ vlc_module_begin () ...@@ -113,7 +113,7 @@ vlc_module_begin ()
set_subcategory( SUBCAT_INTERFACE_MAIN ) set_subcategory( SUBCAT_INTERFACE_MAIN )
set_callbacks( Open, Close ) set_callbacks( Open, Close )
add_shortcut( "curses" ) add_shortcut( "curses" )
add_directory( "browse-dir", NULL, NULL, BROWSE_TEXT, BROWSE_LONGTEXT, false ) add_directory( "browse-dir", NULL, BROWSE_TEXT, BROWSE_LONGTEXT, false )
vlc_module_end () vlc_module_end ()
/***************************************************************************** /*****************************************************************************
......
...@@ -593,7 +593,7 @@ add_loadfile(CFG_PREFIX "gradient_zone_3", NULL, ...@@ -593,7 +593,7 @@ add_loadfile(CFG_PREFIX "gradient_zone_3", NULL,
ZONE_3_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true ) ZONE_3_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true )
add_loadfile(CFG_PREFIX "gradient_zone_4", NULL, add_loadfile(CFG_PREFIX "gradient_zone_4", NULL,
ZONE_4_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true ) ZONE_4_GRADIENT_TEXT, ZONE_X_GRADIENT_LONG_TEXT, true )
add_directory(CFG_PREFIX "gradient_path", NULL, NULL, add_directory(CFG_PREFIX "gradient_path", NULL,
GRADIENT_PATH_TEXT, GRADIENT_PATH_LONGTEXT, false ) GRADIENT_PATH_TEXT, GRADIENT_PATH_LONGTEXT, false )
#if defined(__ATMO_DEBUG__) #if defined(__ATMO_DEBUG__)
......
...@@ -1713,7 +1713,7 @@ vlc_module_begin () ...@@ -1713,7 +1713,7 @@ vlc_module_begin ()
add_integer( "mouse-hide-timeout", 1500, NULL, MOUSE_HIDE_TIMEOUT_TEXT, add_integer( "mouse-hide-timeout", 1500, NULL, MOUSE_HIDE_TIMEOUT_TEXT,
MOUSE_HIDE_TIMEOUT_LONGTEXT, false ) MOUSE_HIDE_TIMEOUT_LONGTEXT, false )
set_section( N_("Snapshot") , NULL ) set_section( N_("Snapshot") , NULL )
add_directory( "snapshot-path", NULL, NULL, SNAP_PATH_TEXT, add_directory( "snapshot-path", NULL, SNAP_PATH_TEXT,
SNAP_PATH_LONGTEXT, false ) SNAP_PATH_LONGTEXT, false )
add_string( "snapshot-prefix", "vlcsnap-", SNAP_PREFIX_TEXT, add_string( "snapshot-prefix", "vlcsnap-", SNAP_PREFIX_TEXT,
SNAP_PREFIX_LONGTEXT, false ) SNAP_PREFIX_LONGTEXT, false )
...@@ -2074,10 +2074,10 @@ vlc_module_begin () ...@@ -2074,10 +2074,10 @@ vlc_module_begin ()
add_bool( "plugins-cache", true, NULL, PLUGINS_CACHE_TEXT, add_bool( "plugins-cache", true, NULL, PLUGINS_CACHE_TEXT,
PLUGINS_CACHE_LONGTEXT, true ) PLUGINS_CACHE_LONGTEXT, true )
change_need_restart () change_need_restart ()
add_directory( "plugin-path", NULL, NULL, PLUGIN_PATH_TEXT, add_directory( "plugin-path", NULL, PLUGIN_PATH_TEXT,
PLUGIN_PATH_LONGTEXT, true ) PLUGIN_PATH_LONGTEXT, true )
change_need_restart () change_need_restart ()
add_directory( "data-path", NULL, NULL, DATA_PATH_TEXT, add_directory( "data-path", NULL, DATA_PATH_TEXT,
DATA_PATH_LONGTEXT, true ) DATA_PATH_LONGTEXT, true )
change_need_restart () change_need_restart ()
......
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