diff options
author | Christophe Fergeau <teuf@gnome.org> | 2006-04-10 18:31:23 +0000 |
---|---|---|
committer | Christophe Fergeau <teuf@gnome.org> | 2006-04-10 18:31:23 +0000 |
commit | 8201d5330e1d70d1627094792a8c7d5d1d5dd1f2 (patch) | |
tree | 665bbf02993906e204c2a4f4e230b7e161757e89 | |
parent | 8253fd6df9473f1e230733d57761652327397fff (diff) | |
download | libgpod-8201d5330e1d70d1627094792a8c7d5d1d5dd1f2.tar.gz libgpod-8201d5330e1d70d1627094792a8c7d5d1d5dd1f2.tar.xz libgpod-8201d5330e1d70d1627094792a8c7d5d1d5dd1f2.zip |
* src/itdb_device.h: removed dead code
* src/itdb_playlist.c: make spl_update2 static, kill spl_update
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1244 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/itdb_device.h | 7 | ||||
-rw-r--r-- | src/itdb_playlist.c | 13 |
3 files changed, 7 insertions, 18 deletions
@@ -1,5 +1,10 @@ 2006-04-10 Christophe Fergeau <teuf@gnome.org> + * src/itdb_device.h: removed dead code + * src/itdb_playlist.c: make spl_update2 static, kill spl_update + +2006-04-10 Christophe Fergeau <teuf@gnome.org> + * docs/Makefile.am: * docs/reference/Makefile.am: * docs/reference/libgpod-docs.xml: diff --git a/src/itdb_device.h b/src/itdb_device.h index 0b1d1ea..bb02880 100644 --- a/src/itdb_device.h +++ b/src/itdb_device.h @@ -57,13 +57,6 @@ struct _Itdb_Device * G_BIG_ENDIAN "reversed" endianness (e.g. mobile * phone iTunesDBs) */ -#if 0 - gboolean endianess_set; /* the endianess_reversed flag has been - detected or set */ - gboolean endianess_reversed; /* this iTunesDB has to be written in - reversed endian order (e.g. mobile phone - iTunesDBs) */ -#endif GHashTable *sysinfo; /* hash with value/key pairs of all entries in Device/SysInfo */ }; diff --git a/src/itdb_playlist.c b/src/itdb_playlist.c index 4af2104..f9e7be1 100644 --- a/src/itdb_playlist.c +++ b/src/itdb_playlist.c @@ -825,14 +825,6 @@ void itdb_spl_update (Itdb_Playlist *spl) } -void spl_update (Itdb_Playlist *playlist, gpointer data); -void spl_update (Itdb_Playlist *playlist, gpointer data) -{ - g_return_if_fail (playlist); - itdb_spl_update (playlist); -} - - /** * itdb_spl_update_all: * @itdb: an #Itdb_iTunesDB @@ -843,12 +835,11 @@ void itdb_spl_update_all (Itdb_iTunesDB *itdb) { g_return_if_fail (itdb); - g_list_foreach (itdb->playlists, (GFunc)spl_update, NULL); + g_list_foreach (itdb->playlists, (GFunc)itdb_spl_update, NULL); } -void spl_update2 (Itdb_Playlist *playlist, gpointer data); -void spl_update2 (Itdb_Playlist *playlist, gpointer data) +static void spl_update2 (Itdb_Playlist *playlist, gpointer data) { g_return_if_fail (playlist); if (playlist->is_spl && playlist->splpref.liveupdate) |