]> git.sesse.net Git - vlc/commitdiff
libvlc: Remove libvlc_event_(init|fini) as they were finally not needed.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 26 May 2008 11:51:03 +0000 (13:51 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 26 May 2008 11:52:50 +0000 (13:52 +0200)
src/control/core.c
src/control/event.c
src/control/libvlc_internal.h

index 87a6310b5d47ec816d2e83f095553f189f169915..068ca67fc71cbe67659a6e98a7a04e4b0df08039 100644 (file)
@@ -132,8 +132,6 @@ libvlc_instance_t * libvlc_new( int argc, const char *const *argv,
     vlc_mutex_init(&p_new->instance_lock);
     vlc_mutex_init(&p_new->event_callback_lock);
 
-    libvlc_event_init(p_new, p_e);
-
     return p_new;
 }
 
@@ -156,8 +154,6 @@ void libvlc_release( libvlc_instance_t *p_instance )
 
     vlc_mutex_lock( lock );
     refs = --p_instance->ref_count;
-    if( refs == 0 )
-        libvlc_event_fini( p_instance );
     vlc_mutex_unlock( lock );
 
     if( refs == 0 )
index 5019f4d6fda01ef93158897455505ad232581a28..5e844630079b10a02e927e516018ffb5b8f893d8 100644 (file)
@@ -56,28 +56,6 @@ group_contains_listener( libvlc_event_listeners_group_t * group,
  * Internal libvlc functions
  */
 
-/**************************************************************************
- *       libvlc_event_init (internal) :
- *
- * initialization function.
- **************************************************************************/
-void libvlc_event_init( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
-{
-    VLC_UNUSED(p_instance);
-    VLC_UNUSED(p_e);
-    /* Will certainly be used to install libvlc_instance event */
-}
-
-/**************************************************************************
- *       libvlc_event_fini (internal) :
- *
- * finalization function.
- **************************************************************************/
-void libvlc_event_fini( libvlc_instance_t *p_instance )
-{
-    VLC_UNUSED(p_instance);
-}
-
 /**************************************************************************
  *       libvlc_event_manager_init (internal) :
  *
index 59991cfe885f1f2c703f0b766f8f1f985497e25b..5c26ff61d20f421a00cfca6b683ad123696837d0 100644 (file)
@@ -50,10 +50,6 @@ VLC_EXPORT (int, libvlc_InternalDestroy, ( libvlc_int_t *, bool ) );
 VLC_EXPORT (int, libvlc_InternalAddIntf, ( libvlc_int_t *, const char *, bool,
                             bool, int, const char *const * ) );
 
-void libvlc_event_init( libvlc_instance_t *, libvlc_exception_t * );
-void libvlc_event_fini( libvlc_instance_t * );
-
-
 /***************************************************************************
  * Opaque structures for libvlc API
  ***************************************************************************/