[sound-juicer] Remove call to deprecated mb4_releasegroup_get_type



commit 9ccec4c7bf96b25f7a77d8755cdaae178d7a41fe
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Fri Jun 1 18:54:29 2012 +0100

    Remove call to deprecated mb4_releasegroup_get_type
    
    Libmusicbrainz 4.0.3 deprecates this in favor of
    mb4_releasegroup_get_primarytype
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661646

 libjuicer/sj-metadata-musicbrainz4.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libjuicer/sj-metadata-musicbrainz4.c b/libjuicer/sj-metadata-musicbrainz4.c
index aed0b47..0a97657 100644
--- a/libjuicer/sj-metadata-musicbrainz4.c
+++ b/libjuicer/sj-metadata-musicbrainz4.c
@@ -458,7 +458,7 @@ make_album_from_release (Mb4ReleaseGroup group,
   GET (album->asin, mb4_release_get_asin, release);
   GET (album->country, mb4_release_get_country, release);
   if (group) {
-    GET (album->type, mb4_releasegroup_get_type, group);
+    GET (album->type, mb4_releasegroup_get_primarytype, group);
     if (g_str_has_suffix (album->type, "Spokenword")
         || g_str_has_suffix (album->type, "Interview")
         || g_str_has_suffix (album->type, "Audiobook")) {



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