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

Remove read-only field p_callback_data

parent 35c8b6fe
...@@ -157,7 +157,6 @@ struct module_config_t ...@@ -157,7 +157,6 @@ struct module_config_t
/* Function to call when commiting a change */ /* Function to call when commiting a change */
vlc_callback_t pf_callback; vlc_callback_t pf_callback;
void *p_callback_data;
/* Values list */ /* Values list */
char ** ppsz_list; /* List of possible values for the option */ char ** ppsz_list; /* List of possible values for the option */
......
...@@ -294,8 +294,7 @@ void config_PutPsz( vlc_object_t *p_this, ...@@ -294,8 +294,7 @@ void config_PutPsz( vlc_object_t *p_this,
vlc_value_t val; vlc_value_t val;
val.psz_string = (char *)psz_value; val.psz_string = (char *)psz_value;
p_config->pf_callback( p_this, psz_name, oldval, val, p_config->pf_callback( p_this, psz_name, oldval, val, NULL );
p_config->p_callback_data );
} }
/* free old string */ /* free old string */
......
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