rpms/rhythmbox/devel rhythmbox-0.11.5-clean-ipod-crash.patch, NONE, 1.1

Bastien Nocera (hadess) fedora-extras-commits at redhat.com
Mon Jun 16 10:47:16 UTC 2008


Author: hadess

Update of /cvs/pkgs/rpms/rhythmbox/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2093

Added Files:
	rhythmbox-0.11.5-clean-ipod-crash.patch 
Log Message:
Add missing patch


rhythmbox-0.11.5-clean-ipod-crash.patch:

--- NEW FILE rhythmbox-0.11.5-clean-ipod-crash.patch ---
commit bc6eac4fbae2d1a63518da8a732a404c6aca2f71
Author: Christophe Fergeau <teuf at gnome.org>
Date:   Sat May 17 17:35:06 2008 +0200

    Don't connect to notify::name before priv::ipod_db is created, fixes #524985

diff --git a/plugins/ipod/rb-ipod-source.c b/plugins/ipod/rb-ipod-source.c
index b7c9a31..f3488fa 100644
--- a/plugins/ipod/rb-ipod-source.c
+++ b/plugins/ipod/rb-ipod-source.c
@@ -194,8 +194,6 @@ rb_ipod_source_name_changed_cb (RBiPodSource *source, GParamSpec *spec,
 static void
 rb_ipod_source_init (RBiPodSource *source)
 {	
-	g_signal_connect (G_OBJECT (source), "notify::name",
-			  (GCallback)rb_ipod_source_name_changed_cb, NULL);
 }
 
 static GObject *
@@ -936,6 +934,9 @@ rb_ipod_load_songs (RBiPodSource *source)
 				      "name", name,
 				      NULL);
 		}
+                g_signal_connect (G_OBJECT (source), "notify::name",
+		  	          (GCallback)rb_ipod_source_name_changed_cb,
+                                  NULL);
 		priv->load_idle_id = g_idle_add ((GSourceFunc)load_ipod_db_idle_cb, source);
 	}
 	g_object_unref (volume);




More information about the fedora-extras-commits mailing list