Mercurial > audlegacy
diff src/audacious/playlist_container.c @ 3634:1f7c00c1de22
Use gchar consistently.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 25 Sep 2007 22:52:31 +0300 |
parents | f1c756f39e6c |
children | ae3ed045e5aa |
line wrap: on
line diff
--- a/src/audacious/playlist_container.c Tue Sep 25 22:34:52 2007 +0300 +++ b/src/audacious/playlist_container.c Tue Sep 25 22:52:31 2007 +0300 @@ -40,7 +40,7 @@ registered_plcs = g_list_remove(registered_plcs, plc); } -PlaylistContainer *playlist_container_find(char *ext) +PlaylistContainer *playlist_container_find(gchar *ext) { GList *node; PlaylistContainer *plc; @@ -58,9 +58,9 @@ return NULL; } -void playlist_container_read(char *filename, gint pos) +void playlist_container_read(gchar *filename, gint pos) { - char *ext = strrchr(filename, '.') + 1; /* optimization: skip past the dot -nenolod */ + gchar *ext = strrchr(filename, '.') + 1; /* optimization: skip past the dot -nenolod */ PlaylistContainer *plc = playlist_container_find(ext); if (plc->plc_read == NULL) @@ -69,9 +69,9 @@ plc->plc_read(filename, pos); } -void playlist_container_write(char *filename, gint pos) +void playlist_container_write(gchar *filename, gint pos) { - char *ext = strrchr(filename, '.') + 1; /* optimization: skip past the dot -nenolod */ + gchar *ext = strrchr(filename, '.') + 1; /* optimization: skip past the dot -nenolod */ PlaylistContainer *plc = playlist_container_find(ext); if (plc->plc_write == NULL) @@ -80,9 +80,9 @@ plc->plc_write(filename, pos); } -gboolean is_playlist_name(char *filename) +gboolean is_playlist_name(gchar *filename) { - char *ext = strrchr(filename, '.') + 1; /* optimization: skip past the dot -nenolod */ + gchar *ext = strrchr(filename, '.') + 1; /* optimization: skip past the dot -nenolod */ PlaylistContainer *plc = playlist_container_find(ext); if (plc != NULL)