[rhythmbox] shell-player: ref entries before calling rb_player_open (bug #573644)



commit 2cccebe1f8c611fa01b5575b7878f3b84578ca67
Author: Jonathan Matthew <jonathan d14n org>
Date:   Tue May 26 00:00:49 2009 +1000

    shell-player: ref entries before calling rb_player_open (bug #573644)
---
 shell/rb-shell-player.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/shell/rb-shell-player.c b/shell/rb-shell-player.c
index 80b5cb8..93cdd57 100644
--- a/shell/rb-shell-player.c
+++ b/shell/rb-shell-player.c
@@ -756,7 +756,7 @@ rb_shell_player_open_playlist_url (RBShellPlayer *player,
 	rb_debug ("playing stream url %s", location);
 	rb_player_open (player->priv->mmplayer,
 			location,
-			entry,
+			rhythmdb_entry_ref (entry),
 			(GDestroyNotify) rhythmdb_entry_unref,
 			&error);
 	if (error == NULL)



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