[rhythmbox] update for new totem-plparser API additions (bug #586363, #586365)



commit 0ff073b314fa95f3ab189fdabc830f29141e4e5b
Author: Jonathan Matthew <jonathan d14n org>
Date:   Fri Jun 19 21:31:28 2009 +1000

    update for new totem-plparser API additions (bug #586363, #586365)

 plugins/audioscrobbler/rb-lastfm-source.c |    1 +
 plugins/iradio/rb-iradio-source.c         |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/audioscrobbler/rb-lastfm-source.c b/plugins/audioscrobbler/rb-lastfm-source.c
index 0d029da..4ad04eb 100644
--- a/plugins/audioscrobbler/rb-lastfm-source.c
+++ b/plugins/audioscrobbler/rb-lastfm-source.c
@@ -2162,6 +2162,7 @@ handle_playlist_response (RBLastfmSource *source, const char *body, RhythmDBEntr
 	result = totem_pl_parser_parse (parser, tmp_uri, FALSE);
 
 	switch (result) {
+	default:
 	case TOTEM_PL_PARSER_RESULT_UNHANDLED:
 	case TOTEM_PL_PARSER_RESULT_IGNORED:
 	case TOTEM_PL_PARSER_RESULT_ERROR:
diff --git a/plugins/iradio/rb-iradio-source.c b/plugins/iradio/rb-iradio-source.c
index 7473c6b..51b3407 100644
--- a/plugins/iradio/rb-iradio-source.c
+++ b/plugins/iradio/rb-iradio-source.c
@@ -893,6 +893,7 @@ rb_iradio_source_add_from_playlist (RBIRadioSource *source,
 		rb_iradio_source_add_station (source, uri, NULL, NULL);
 		break;
 
+	default:
 	case TOTEM_PL_PARSER_RESULT_SUCCESS:
 	case TOTEM_PL_PARSER_RESULT_ERROR:
 		break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]