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

Felix Paul Kühne git at videolan.org
Fri Apr 8 11:22:31 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Apr  8 11:21:11 2011 +0200| [8ad0755bc595e8a77de6153a3e8e721630010229] | committer: Felix Paul Kühne

Revert "macosx: reflect intf-change modification"

This reverts commit 268fc5d2c94ac0fc91f84540cbcea29fc26de392.

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

 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 22d73c8..f1a50d9 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_VOID );
+    var_Create( p_intf, "intf-change", VLC_VAR_BOOL );
 
     [self setSubmenusEnabled: FALSE];
     [o_volumeslider setEnabled: YES];
diff --git a/modules/gui/macosx/playlistinfo.m b/modules/gui/macosx/playlistinfo.m
index 0ad7b14..e7cb6d8 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" );
+    var_SetBool( p_playlist, "intf-change", true );
     [self updatePanelWithItem: p_item];
 
     [o_saveMetaData_btn setEnabled: NO];



More information about the vlc-commits mailing list