rhythmbox r5762 - in trunk: . plugins/ipod
- From: teuf svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5762 - in trunk: . plugins/ipod
- Date: Wed, 18 Jun 2008 17:55:54 +0000 (UTC)
Author: teuf
Date: Wed Jun 18 17:55:54 2008
New Revision: 5762
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5762&view=rev
Log:
patch by: Colin Leroy <colin at colino.net>
* plugins/ipod/rb-ipod-source.c: (add_rb_playlist): remove extra
g_object_ref when creating a new playlist. This extra ref prevented
RbIpodSource and RbIpodDB objects from being disposed on
RbIpodSource::delete_thyself, which prevented proper saving of the
ipod database on ipod ejection. Fixes bug #451265
Modified:
trunk/ChangeLog
trunk/plugins/ipod/rb-ipod-source.c
Modified: trunk/plugins/ipod/rb-ipod-source.c
==============================================================================
--- trunk/plugins/ipod/rb-ipod-source.c (original)
+++ trunk/plugins/ipod/rb-ipod-source.c Wed Jun 18 17:55:54 2008
@@ -409,7 +409,6 @@
g_free (filename);
}
- g_object_ref (G_OBJECT(playlist_source));
playlist->userdata = playlist_source;
playlist->userdata_destroy = g_object_unref;
playlist->userdata_duplicate = g_object_ref;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]