[rhythmbox] ipod: move debug message to a more appropriate place



commit 3b970b3d86802549f5a5c4035e0fbf897524678e
Author: Christophe Fergeau <cfergeau mandriva com>
Date:   Wed Aug 19 22:49:16 2009 +0200

    ipod: move debug message to a more appropriate place

 plugins/ipod/rb-ipod-db.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/ipod/rb-ipod-db.c b/plugins/ipod/rb-ipod-db.c
index 7e23a05..a137314 100644
--- a/plugins/ipod/rb-ipod-db.c
+++ b/plugins/ipod/rb-ipod-db.c
@@ -126,6 +126,7 @@ rb_itdb_save (RbIpodDb *ipod_db, GError **error)
 	RbIpodDbPrivate *priv = IPOD_DB_GET_PRIVATE (ipod_db);
 	GError *err = NULL;
 
+	rb_debug ("Writing iPod database to disk");
 	if (itdb_write (priv->itdb, &err) == FALSE) {
 		g_warning ("Could not write database to iPod: %s", err->message);
 		g_propagate_error (error, err);
@@ -828,7 +829,6 @@ saving_thread (RbIpodDb *ipod_db)
 
 	g_assert (priv->read_only);
 
-	rb_debug ("Writing iPod database to disk");
 	rb_itdb_save (ipod_db, NULL);
 	priv->save_idle_id = g_idle_add ((GSourceFunc)ipod_db_saved_idle_cb, 
 					 ipod_db);



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