From 6b843acc086616c8df89f2805029fd81f75c4cac Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 22 Nov 2008 11:18:07 +0100 Subject: [PATCH] Removed unused -playlist_ItemSetName. --- include/vlc_playlist.h | 3 --- src/libvlccore.sym | 1 - src/playlist/item.c | 21 --------------------- 3 files changed, 25 deletions(-) diff --git a/include/vlc_playlist.h b/include/vlc_playlist.h index 2a3a2d4350..49372b2889 100644 --- a/include/vlc_playlist.h +++ b/include/vlc_playlist.h @@ -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 ) ); diff --git a/src/libvlccore.sym b/src/libvlccore.sym index 2c3cc310c5..a769b15acb 100644 --- a/src/libvlccore.sym +++ b/src/libvlccore.sym @@ -294,7 +294,6 @@ playlist_ItemGetById playlist_ItemGetByInput playlist_ItemGetByInputId playlist_ItemNewWithType -playlist_ItemSetName playlist_ItemToNode playlist_LiveSearchUpdate playlist_NodeAppend diff --git a/src/playlist/item.c b/src/playlist/item.c index 2fa541d18a..3eeda3eb77 100644 --- a/src/playlist/item.c +++ b/src/playlist/item.c @@ -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 ***************************************************************************/ -- 2.39.2