[vlc-devel] commit: Removed unused -playlist_ItemSetName. (Laurent Aimar )
git version control
git at videolan.org
Sat Nov 22 16:38:00 CET 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Nov 22 11:18:07 2008 +0100| [6b843acc086616c8df89f2805029fd81f75c4cac] | committer: Laurent Aimar
Removed unused -playlist_ItemSetName.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6b843acc086616c8df89f2805029fd81f75c4cac
---
include/vlc_playlist.h | 3 ---
src/libvlccore.sym | 1 -
src/playlist/item.c | 21 ---------------------
3 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/include/vlc_playlist.h b/include/vlc_playlist.h
index 2a3a2d4..49372b2 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 2c3cc31..a769b15 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 2fa541d..3eeda3e 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
***************************************************************************/
More information about the vlc-devel
mailing list