]> git.sesse.net Git - vlc/blobdiff - projects/macosx/framework/Sources/VLCMediaList.m
macosx/framework: No need to create an exception here.
[vlc] / 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 */