]> git.sesse.net Git - vlc/commitdiff
Remove read-only field p_callback_data
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 22 Oct 2010 16:31:57 +0000 (19:31 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 22 Oct 2010 16:33:01 +0000 (19:33 +0300)
include/vlc_configuration.h
src/config/core.c

index 09caeb92827919d09ebba3f265cdab213a60bf5a..96a0792059c1379401dfef9b41d37cbc00880de8 100644 (file)
@@ -157,7 +157,6 @@ struct module_config_t
 
     /* Function to call when commiting a change */
     vlc_callback_t pf_callback;
-    void          *p_callback_data;
 
     /* Values list */
     char **      ppsz_list;       /* List of possible values for the option */
index df6a0d2081bee277916fae565db634b77d65c0b3..255df830a13d2afbfd3d5d0c4a2d923011f0f0d9 100644 (file)
@@ -294,8 +294,7 @@ void config_PutPsz( vlc_object_t *p_this,
         vlc_value_t val;
 
         val.psz_string = (char *)psz_value;
-        p_config->pf_callback( p_this, psz_name, oldval, val,
-                               p_config->p_callback_data );
+        p_config->pf_callback( p_this, psz_name, oldval, val, NULL );
     }
 
     /* free old string */