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

Remove duplicated config refresh callbacks

parent ca923dce
......@@ -223,12 +223,10 @@ vlc_module_begin ()
add_string( CFG_PREFIX "vdev", NULL, VDEV_TEXT, VDEV_LONGTEXT, false)
change_string_cb( FindDevicesCallback )
change_action_add( FindDevicesCallback, N_("Refresh list") )
change_action_add( ConfigDevicesCallback, N_("Configure") )
add_string( CFG_PREFIX "adev", NULL, ADEV_TEXT, ADEV_LONGTEXT, false)
change_string_cb( FindDevicesCallback )
change_action_add( FindDevicesCallback, N_("Refresh list") )
change_action_add( ConfigDevicesCallback, N_("Configure") )
add_string( CFG_PREFIX "size", NULL, SIZE_TEXT, SIZE_LONGTEXT, false)
......
......@@ -82,7 +82,6 @@ vlc_module_begin ()
add_string ("alsa-audio-device", "default",
AUDIO_DEV_TEXT, AUDIO_DEV_LONGTEXT, false)
change_string_cb( FindDevicesCallback )
change_action_add( FindDevicesCallback, N_("Refresh list") )
add_integer ("alsa-audio-channels", AOUT_CHANS_FRONT,
AUDIO_CHAN_TEXT, AUDIO_CHAN_LONGTEXT, false)
change_integer_list (channels, channels_text)
......
......@@ -144,7 +144,6 @@ vlc_module_begin ()
add_string( "directx-audio-device", "default",
DEVICE_TEXT, DEVICE_LONGTEXT, false )
change_string_cb( ReloadDirectXDevices )
change_action_add( ReloadDirectXDevices, N_("Refresh list") )
add_obsolete_string( "directx-audio-device-name")
add_bool( "directx-audio-float32", false, FLOAT_TEXT,
FLOAT_LONGTEXT, true )
......
......@@ -145,7 +145,6 @@ vlc_module_begin ()
add_string( "waveout-audio-device", "wavemapper",
DEVICE_TEXT, DEVICE_LONG, false )
change_string_cb( ReloadWaveoutDevices )
change_action_add( ReloadWaveoutDevices, N_("Refresh list") )
add_sw_gain( )
add_bool( "waveout-float32", true, FLOAT_TEXT, FLOAT_LONGTEXT, true )
......
......@@ -103,7 +103,6 @@ vlc_module_begin()
TRIPLEBUF_LONGTEXT, true)
add_string("directx-device", "", DEVICE_TEXT, DEVICE_LONGTEXT, true)
change_string_cb(FindDevicesCallback)
change_action_add(FindDevicesCallback, N_("Refresh list"))
set_capability("vout display", 230)
add_shortcut("directx")
......
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