[rhythmbox] generic-player: fix compile errors introduced in commit a3ea4460



commit a81388ed7fef460c47bb2ca8d9cf1951338d44f4
Author: Jonathan Matthew <jonathan d14n org>
Date:   Mon Feb 1 22:50:05 2010 +1000

    generic-player: fix compile errors introduced in commit a3ea4460

 .../rb-generic-player-playlist-source.c            |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/generic-player/rb-generic-player-playlist-source.c b/plugins/generic-player/rb-generic-player-playlist-source.c
index c56a503..705d754 100644
--- a/plugins/generic-player/rb-generic-player-playlist-source.c
+++ b/plugins/generic-player/rb-generic-player-playlist-source.c
@@ -113,7 +113,7 @@ save_playlist_foreach (GtkTreeModel *model,
 	}
 
 	host_uri = rhythmdb_entry_get_string (entry, RHYTHMDB_PROP_LOCATION);
-	uri = rb_generic_player_source_uri_to_playlist_uri (priv->player_source, host_uri, data->format);
+	uri = rb_generic_player_source_uri_to_playlist_uri (priv->player_source, host_uri, data->playlist_type);
 
 	totem_pl_playlist_append (data->playlist, &pl_iter);
 	totem_pl_playlist_set (data->playlist, &pl_iter, TOTEM_PL_PARSER_FIELD_URI, uri, NULL);
@@ -252,7 +252,7 @@ save_playlist (RBGenericPlayerPlaylistSource *source)
 		g_object_set (parser, "debug", TRUE, NULL);
 	}
 
-	result = totem_pl_parser_save (parser, playlist, file, name, playlist_type, &error);
+	result = totem_pl_parser_save (parser, data.playlist, file, name, playlist_type, &error);
 	g_object_unref (data.playlist);
 	data.playlist = NULL;
 #else



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