[vlc-devel] commit: mozilla: fix compilation after [1979486d] ( Rafaël Carré )
git version control
git at videolan.org
Tue Oct 6 13:41:13 CEST 2009
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Oct 6 13:40:20 2009 +0200| [f2c8101b34e0a99f8dddc00a51d84a7823b7531a] | committer: Rafaël Carré
mozilla: fix compilation after [1979486d]
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2c8101b34e0a99f8dddc00a51d84a7823b7531a
---
projects/mozilla/control/npolibvlc.cpp | 3 +--
projects/mozilla/vlcshell.cpp | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/projects/mozilla/control/npolibvlc.cpp b/projects/mozilla/control/npolibvlc.cpp
index ae53301..348880d 100644
--- a/projects/mozilla/control/npolibvlc.cpp
+++ b/projects/mozilla/control/npolibvlc.cpp
@@ -218,8 +218,7 @@ LibvlcAudioNPObject::getProperty(int index, NPVariant &result)
{
case ID_audio_mute:
{
- bool muted = libvlc_audio_get_mute(p_plugin->getVLC(), &ex);
- RETURN_ON_EXCEPTION(this,ex);
+ bool muted = libvlc_audio_get_mute(p_plugin->getVLC());
BOOLEAN_TO_NPVARIANT(muted, result);
return INVOKERESULT_NO_ERROR;
}
diff --git a/projects/mozilla/vlcshell.cpp b/projects/mozilla/vlcshell.cpp
index 8820c6c..e229bb1 100644
--- a/projects/mozilla/vlcshell.cpp
+++ b/projects/mozilla/vlcshell.cpp
@@ -855,8 +855,7 @@ static void ControlHandler( Widget w, XtPointer closure, XEvent *event )
case clicked_Mute:
case clicked_Unmute:
{
- libvlc_audio_toggle_mute( p_plugin->getVLC(), &ex );
- libvlc_exception_clear( &ex );
+ libvlc_audio_toggle_mute( p_plugin->getVLC() );
}
break;
More information about the vlc-devel
mailing list