[vlc-devel] commit: mozilla: cleanup (Jean-Paul Saman )
    git version control 
    git at videolan.org
       
    Thu Feb 11 11:37:08 CET 2010
    
    
  
vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Thu Feb 11 11:06:00 2010 +0100| [479c400807897eeccfa0772c311ef9046ea34224] | committer: Jean-Paul Saman 
mozilla: cleanup
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=479c400807897eeccfa0772c311ef9046ea34224
---
 projects/mozilla/control/npolibvlc.cpp |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/projects/mozilla/control/npolibvlc.cpp b/projects/mozilla/control/npolibvlc.cpp
index 0952bac..6fb6132 100644
--- a/projects/mozilla/control/npolibvlc.cpp
+++ b/projects/mozilla/control/npolibvlc.cpp
@@ -531,10 +531,7 @@ LibvlcInputNPObject::setProperty(int index, const NPVariant &value)
         VlcPlugin* p_plugin = getPrivate<VlcPlugin>();
         libvlc_media_player_t *p_md = p_plugin->getMD();
         if( !p_md )
-        {
-            NPN_SetException(this, libvlc_errmsg() );
-            return INVOKERESULT_GENERIC_ERROR;
-        }
+            RETURN_ON_ERROR;
 
         switch( index )
         {
    
    
More information about the vlc-devel
mailing list