[vlc-commits] macosx: reflect intf-change modification

Felix Paul Kühne git at videolan.org
Thu Apr 7 22:55:21 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Apr  7 22:54:25 2011 +0200| [268fc5d2c94ac0fc91f84540cbcea29fc26de392] | committer: Felix Paul Kühne

macosx: reflect intf-change modification

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=268fc5d2c94ac0fc91f84540cbcea29fc26de392
---

 modules/gui/macosx/intf.m         |    2 +-
 modules/gui/macosx/playlistinfo.m |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index f1a50d9..22d73c8 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -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];
diff --git a/modules/gui/macosx/playlistinfo.m b/modules/gui/macosx/playlistinfo.m
index e7cb6d8..0ad7b14 100644
--- a/modules/gui/macosx/playlistinfo.m
+++ b/modules/gui/macosx/playlistinfo.m
@@ -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];



More information about the vlc-commits mailing list