Commit 0cd9960f authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

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

parent 440bf3aa
...@@ -211,12 +211,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use ...@@ -211,12 +211,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
- (BOOL)isReadOnly - (BOOL)isReadOnly
{ {
libvlc_exception_t p_e; return libvlc_media_list_is_readonly( p_mlist );
libvlc_exception_init( &p_e );
BOOL isReadOnly = libvlc_media_list_is_readonly( p_mlist );
catch_exception( &p_e );
return isReadOnly;
} }
/* Media list aspect */ /* Media list aspect */
......
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