]> git.sesse.net Git - vlc/commitdiff
control: Remove libvlc_event_fini exception handling, as we don't need it.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 17 Nov 2007 14:29:13 +0000 (14:29 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 17 Nov 2007 14:29:13 +0000 (14:29 +0000)
src/control/core.c
src/control/event.c
src/control/libvlc_internal.h

index 69f94bdd6d45cc790d5ec9330dfb0ecf216f1184..a1d2f9e5507adb9e35b130a19d6e8e475374acc5 100644 (file)
@@ -139,7 +139,7 @@ void libvlc_release( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
     vlc_mutex_lock( lock );
     refs = --p_instance->ref_count;
     if( refs == 0 )
-        libvlc_event_fini( p_instance, p_e );
+        libvlc_event_fini( p_instance );
     vlc_mutex_unlock( lock );
 
     if( refs == 0 )
index 178e984859adec2d957c1e52958450a9481da769..5dc3a0f3cd17c9f3b54f59f43270ce489c3e8142 100644 (file)
@@ -51,7 +51,7 @@ void libvlc_event_init( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
  *
  * finalization function.
  **************************************************************************/
-void libvlc_event_fini( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
+void libvlc_event_fini( libvlc_instance_t *p_instance )
 {
 }
 
index 218d7d7210cb009538edaef5e32937a8e17b056e..6cda042dcf09dd01a769d1faefd59a94a48abe0a 100644 (file)
@@ -47,7 +47,7 @@ VLC_EXPORT (int, libvlc_InternalAddIntf, ( libvlc_int_t *, const char *, vlc_boo
                             vlc_bool_t, int, const char *const * ) );
 
 VLC_EXPORT (void, libvlc_event_init, ( libvlc_instance_t *, libvlc_exception_t * ) );
-VLC_EXPORT (void, libvlc_event_fini, ( libvlc_instance_t *, libvlc_exception_t * ) );
+VLC_EXPORT (void, libvlc_event_fini, ( libvlc_instance_t * ) );
 
 
 /***************************************************************************