]> git.sesse.net Git - vlc/commitdiff
Removed unused -playlist_ItemSetName.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 22 Nov 2008 10:18:07 +0000 (11:18 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 22 Nov 2008 15:29:54 +0000 (16:29 +0100)
include/vlc_playlist.h
src/libvlccore.sym
src/playlist/item.c

index 2a3a2d435033816fb9e26aaa4e8e171f0dfa4b19..49372b288904b4aae1976cc4705254615bca5243 100644 (file)
@@ -316,9 +316,6 @@ VLC_EXPORT( playlist_item_t* , playlist_ItemNewWithType, ( playlist_t *,const ch
 /*************************** Item deletion **************************/
 VLC_EXPORT( int,  playlist_DeleteFromInput, ( playlist_t *, int, bool ) );
 
-/*************************** Item fields accessors **************************/
-VLC_EXPORT( int, playlist_ItemSetName, (playlist_item_t *, const char * ) );
-
 /******************** Item addition ********************/
 VLC_EXPORT( int,  playlist_Add,    ( playlist_t *, const char *, const char *, int, int, bool, bool ) );
 VLC_EXPORT( int,  playlist_AddExt, ( playlist_t *, const char *, const char *, int, int, mtime_t, const char *const *,int, bool, bool ) );
index 2c3cc310c5c35ddb21c474c9d48a5739a6e4390d..a769b15acb7d8b4ea34a901f0e2cc45341a11a2c 100644 (file)
@@ -294,7 +294,6 @@ playlist_ItemGetById
 playlist_ItemGetByInput
 playlist_ItemGetByInputId
 playlist_ItemNewWithType
-playlist_ItemSetName
 playlist_ItemToNode
 playlist_LiveSearchUpdate
 playlist_NodeAppend
index 2fa541d18a36fef5ff6863ca0d34051fa669221f..3eeda3eb77e6ffbcfc09471dfd6cd3c92bac5cd5 100644 (file)
@@ -806,27 +806,6 @@ void playlist_SendAddNotify( playlist_t *p_playlist, int i_item_id,
     free( p_add );
 }
 
-/*****************************************************************************
- * Playlist item accessors
- *****************************************************************************/
-
-/**
- * Set the name of a playlist item
- *
- * \param p_item the item
- * \param psz_name the name
- * \return VLC_SUCCESS or VLC_EGENERIC
- */
-int playlist_ItemSetName( playlist_item_t *p_item, const char *psz_name )
-{
-    if( psz_name && p_item )
-    {
-        input_item_SetName( p_item->p_input, psz_name );
-        return VLC_SUCCESS;
-    }
-    return VLC_EGENERIC;
-}
-
 /***************************************************************************
  * The following functions are local
  ***************************************************************************/