[vlc-commits] MacOS: remove some callbacks
Jean-Baptiste Kempf
git at videolan.org
Mon Oct 10 00:51:51 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct 10 00:49:29 2011 +0200| [50036f112eecb9fd7c95c176ec20e5089b806b43] | committer: Jean-Baptiste Kempf
MacOS: remove some callbacks
Ref: #5427
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=50036f112eecb9fd7c95c176ec20e5089b806b43
---
modules/gui/macosx/intf.m | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 2626729..f6eea48 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -557,7 +557,7 @@ static VLCMain *_o_sharedMainInstance = nil;
val.b_bool = false;
- var_AddCallback( p_playlist, "fullscreen", FullscreenChanged, self);
+ var_AddCallback(p_playlist, "fullscreen", FullscreenChanged, self);
var_AddCallback( p_intf->p_libvlc, "intf-toggle-fscontrol", ShowController, self);
// var_AddCallback(p_playlist, "item-change", PLItemChanged, self);
var_AddCallback(p_playlist, "item-current", PLItemChanged, self);
@@ -701,6 +701,8 @@ static VLCMain *_o_sharedMainInstance = nil;
var_DelCallback(p_playlist, "loop", PlaybackModeUpdated, self);
var_DelCallback(p_playlist, "volume", VolumeUpdated, self);
var_DelCallback(p_playlist, "mute", VolumeUpdated, self);
+ var_DelCallback(p_playlist, "fullscreen", FullscreenChanged, self);
+ var_DelCallback(p_intf->p_libvlc, "intf-toggle-fscontrol", ShowController, self);
/* remove global observer watching for vout device changes correctly */
[[NSNotificationCenter defaultCenter] removeObserver: self];
More information about the vlc-commits
mailing list