Commit 6b843acc authored by Laurent Aimar's avatar Laurent Aimar

Removed unused -playlist_ItemSetName.

parent ca94f210
......@@ -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 ) );
......
......@@ -294,7 +294,6 @@ playlist_ItemGetById
playlist_ItemGetByInput
playlist_ItemGetByInputId
playlist_ItemNewWithType
playlist_ItemSetName
playlist_ItemToNode
playlist_LiveSearchUpdate
playlist_NodeAppend
......
......@@ -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
***************************************************************************/
......
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