]> git.sesse.net Git - vlc/commitdiff
macosx: reflect intf-change modification
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 7 Apr 2011 20:54:25 +0000 (22:54 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 7 Apr 2011 20:55:20 +0000 (22:55 +0200)
modules/gui/macosx/intf.m
modules/gui/macosx/playlistinfo.m

index f1a50d9cbb1a3e3afb7343caa41ab1611ce1f094..22d73c86e2f69983afd6d7dd26307d2ae95ef279 100644 (file)
@@ -473,7 +473,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     [o_mi_double_window setKeyEquivalent: [self VLCKeyToString: o_key]];
     [o_mi_double_window setKeyEquivalentModifierMask: [self VLCModifiersToCocoa:o_key]];
     
-    var_Create( p_intf, "intf-change", VLC_VAR_BOOL );
+    var_Create( p_intf, "intf-change", VLC_VAR_VOID );
 
     [self setSubmenusEnabled: FALSE];
     [o_volumeslider setEnabled: YES];
index e7cb6d889106a740df5f98fbe24dded937a0ceea..0ad7b14e17c8a4ac87841795fed048dfbb03febc 100644 (file)
@@ -386,7 +386,7 @@ static VLCInfo *_o_sharedInstance = nil;
     playlist_t * p_playlist = pl_Get( VLCIntf );
     input_item_WriteMeta( VLC_OBJECT(p_playlist), p_item );
 
-    var_SetBool( p_playlist, "intf-change", true );
+    var_SetBool( p_playlist, "intf-change" );
     [self updatePanelWithItem: p_item];
 
     [o_saveMetaData_btn setEnabled: NO];