[rhythmbox] daap: fix to compile against libdmapsharing 2.9.19+



commit 92d75eaac529015ffb996a9c4614a88b0ece4084
Author: W. Michael Petullo <mike flyn org>
Date:   Wed Sep 11 21:57:03 2013 -0400

    daap: fix to compile against libdmapsharing 2.9.19+
    
    Signed-off-by: W. Michael Petullo <mike flyn org>

 configure.ac                  |    2 +-
 plugins/daap/rb-dacp-player.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 88497bc..cb14abd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -672,7 +672,7 @@ AC_ARG_ENABLE(daap,
                             [Disable DAAP support]),,
               enable_daap=auto)
 if test "x$enable_daap" != "xno"; then
-       PKG_CHECK_MODULES(DMAPSHARING, libdmapsharing-3.0 >= 2.9.16,
+       PKG_CHECK_MODULES(DMAPSHARING, libdmapsharing-3.0 >= 2.9.19,
                          have_libdmapsharing=yes,
                          have_libdmapsharing=no)
        if test "x$have_libdmapsharing" = "xno" -a "x$enable_daap" = "xyes"; then
diff --git a/plugins/daap/rb-dacp-player.c b/plugins/daap/rb-dacp-player.c
index 5b43dc9..2d20072 100644
--- a/plugins/daap/rb-dacp-player.c
+++ b/plugins/daap/rb-dacp-player.c
@@ -59,7 +59,7 @@ static void playing_song_changed (RBShellPlayer *shell_player, RhythmDBEntry *en
 static void elapsed_changed (RBShellPlayer *shell_player, guint elapsed, RBDACPPlayer *player);
 
 static DAAPRecord *rb_dacp_player_now_playing_record  (DACPPlayer *player);
-static const guchar *rb_dacp_player_now_playing_artwork (DACPPlayer *player, guint width, guint height);
+static guchar *rb_dacp_player_now_playing_artwork (DACPPlayer *player, guint width, guint height);
 static void rb_dacp_player_play_pause          (DACPPlayer *player);
 static void rb_dacp_player_pause               (DACPPlayer *player);
 static void rb_dacp_player_next_item           (DACPPlayer *player);
@@ -305,7 +305,7 @@ rb_dacp_player_now_playing_record (DACPPlayer *player)
        }
 }
 
-static const guchar *
+static guchar *
 rb_dacp_player_now_playing_artwork (DACPPlayer *player, guint width, guint height)
 {
        return NULL;


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