[vlc-devel] commit: macosx/framework: No need to create an exception here. (Pierre d' Herbemont )

git version control git at videolan.org
Thu Jan 28 16:59:44 CET 2010


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Jan 27 23:00:54 2010 +0100| [0cd9960fd4e26bc621d540d28e33ad673caf090a] | committer: Pierre d'Herbemont 

macosx/framework: No need to create an exception here.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0cd9960fd4e26bc621d540d28e33ad673caf090a
---

 projects/macosx/framework/Sources/VLCMediaList.m |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/projects/macosx/framework/Sources/VLCMediaList.m b/projects/macosx/framework/Sources/VLCMediaList.m
index 21ba1b2..f9ed8f9 100644
--- a/projects/macosx/framework/Sources/VLCMediaList.m
+++ b/projects/macosx/framework/Sources/VLCMediaList.m
@@ -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 */




More information about the vlc-devel mailing list