]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/vout.m
Remove config_GetUserConfDir
[vlc] / modules / gui / macosx / vout.m
index add95df3b69e74bd9e9152b54cb7b8d1e2340792..ba9c7d71fa59eed37d6d2b714ff1aac6b42125c7 100644 (file)
@@ -434,9 +434,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
 {
     vlc_value_t val;
     if( !p_real_vout ) return;
-    var_Get( p_real_vout, "fullscreen", &val );
-    val.b_bool = !val.b_bool;
-    var_Set( p_real_vout, "fullscreen", val );
+    var_ToggleBool( p_real_vout, "fullscreen" );
 }
 
 - (BOOL)isFullscreen
@@ -458,7 +456,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
     if( !VLCIntf || !VLCIntf->p_sys )
         return;
 
-    UInt8 UsrActivity;
     if( VLCIntf->p_sys->i_play_status == PLAYING_S )
         UpdateSystemActivity( UsrActivity );
 }