]> git.sesse.net Git - vlc/commitdiff
macosx/framework: No need to create an exception here.
authorPierre d'Herbemont <pdherbemont@free.fr>
Wed, 27 Jan 2010 22:00:54 +0000 (23:00 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 28 Jan 2010 15:59:37 +0000 (16:59 +0100)
projects/macosx/framework/Sources/VLCMediaList.m

index 21ba1b2ea480e00565c2b843d4d0a3a78234d9e3..f9ed8f96427fe3c9f2e5815876887bc66f65c700 100644 (file)
@@ -211,12 +211,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
 
 - (BOOL)isReadOnly
 {
-    libvlc_exception_t p_e;
-    libvlc_exception_init( &p_e );
-    BOOL isReadOnly = libvlc_media_list_is_readonly( p_mlist );
-    catch_exception( &p_e );
-
-    return isReadOnly;
+    return libvlc_media_list_is_readonly( p_mlist );
 }
 
 /* Media list aspect */