rhythmbox r5623 - in trunk: . shell



Author: hadess
Date: Mon Mar 17 10:51:13 2008
New Revision: 5623
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5623&view=rev

Log:
2008-03-17  Bastien Nocera  <hadess hadess net>

	* shell/rb-shell.c (rb_shell_load_uri): Fix possible
	crasher (and probable with the device activation for 
	removable devices), as the source list isn't ref'ed,
	we shouldn't unref it ourselves



Modified:
   trunk/ChangeLog
   trunk/shell/rb-shell.c

Modified: trunk/shell/rb-shell.c
==============================================================================
--- trunk/shell/rb-shell.c	(original)
+++ trunk/shell/rb-shell.c	Mon Mar 17 10:51:13 2008
@@ -3351,7 +3351,6 @@
 	if (play) {
 		if (playlist_source != NULL) {
 			rb_shell_activate_source (shell, playlist_source);
-			g_object_unref (playlist_source);
 			return TRUE;
 		}
 



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