[rhythmbox] Stop using deprecated totem-pl-parser symbols



commit 3e8bd5b908a6f3ddee12ac941f4a161cc14e400e
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 22 17:12:59 2009 +0100

    Stop using deprecated totem-pl-parser symbols
    
    the _URL symbols are gone in master, you need to use
    _URI. Require the first version to include the compat defines.
---
 configure.ac               |    2 +-
 podcast/rb-podcast-parse.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index ec6efd1..4d5e245 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,7 @@ MUSICBRAINZ_REQS=2.1.0
 MUSICBRAINZ3_REQS=3.0.2
 NCB_MIN_REQS=2.21.6
 BRASERO_MIN_REQS=0.9.1
-TOTEM_PLPARSER_REQS=2.22.0
+TOTEM_PLPARSER_REQS=2.26.0
 VALA_REQS=0.1.0
 AVAHI_REQS=0.6
 
diff --git a/podcast/rb-podcast-parse.c b/podcast/rb-podcast-parse.c
index feced57..ccd3ab7 100644
--- a/podcast/rb-podcast-parse.c
+++ b/podcast/rb-podcast-parse.c
@@ -69,7 +69,7 @@ playlist_metadata_foreach (const char *key,
 		channel->author = g_strdup (value);
 	} else if (strcmp (key, TOTEM_PL_PARSER_FIELD_CONTACT) == 0) {
 		channel->contact = g_strdup (value);
-	} else if (strcmp (key, TOTEM_PL_PARSER_FIELD_IMAGE_URL) == 0) {
+	} else if (strcmp (key, TOTEM_PL_PARSER_FIELD_IMAGE_URI) == 0) {
 		channel->img = g_strdup (value);
 	} else if (strcmp (key, TOTEM_PL_PARSER_FIELD_PUB_DATE) == 0) {
 		channel->pub_date = totem_pl_parser_parse_date (value, FALSE);
@@ -106,7 +106,7 @@ entry_metadata_foreach (const char *key,
 
 	if (strcmp (key, TOTEM_PL_PARSER_FIELD_TITLE) == 0) {
 		item->title = g_strdup (value);
-	} else if (strcmp (key, TOTEM_PL_PARSER_FIELD_URL) == 0) {
+	} else if (strcmp (key, TOTEM_PL_PARSER_FIELD_URI) == 0) {
 		item->url = g_strdup (value);
 	} else if (strcmp (key, TOTEM_PL_PARSER_FIELD_DESCRIPTION) == 0) {
 		item->description = g_strdup (value);



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