Commit f2c8101b authored by Rafaël Carré's avatar Rafaël Carré

mozilla: fix compilation after [1979486d]

parent f556fb16
...@@ -218,8 +218,7 @@ LibvlcAudioNPObject::getProperty(int index, NPVariant &result) ...@@ -218,8 +218,7 @@ LibvlcAudioNPObject::getProperty(int index, NPVariant &result)
{ {
case ID_audio_mute: case ID_audio_mute:
{ {
bool muted = libvlc_audio_get_mute(p_plugin->getVLC(), &ex); bool muted = libvlc_audio_get_mute(p_plugin->getVLC());
RETURN_ON_EXCEPTION(this,ex);
BOOLEAN_TO_NPVARIANT(muted, result); BOOLEAN_TO_NPVARIANT(muted, result);
return INVOKERESULT_NO_ERROR; return INVOKERESULT_NO_ERROR;
} }
......
...@@ -855,8 +855,7 @@ static void ControlHandler( Widget w, XtPointer closure, XEvent *event ) ...@@ -855,8 +855,7 @@ static void ControlHandler( Widget w, XtPointer closure, XEvent *event )
case clicked_Mute: case clicked_Mute:
case clicked_Unmute: case clicked_Unmute:
{ {
libvlc_audio_toggle_mute( p_plugin->getVLC(), &ex ); libvlc_audio_toggle_mute( p_plugin->getVLC() );
libvlc_exception_clear( &ex );
} }
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment