diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-09-20 08:00:02 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-09-20 08:00:02 +0800 |
commit | 0f318b8a182a86b269dc251c36cf1b389943f897 (patch) | |
tree | c0f54d44f0d16a9c85909a9d2ee1010cce517b3b /audio/rhythmbox/files | |
parent | 42955dfe06a38fd27ef295ce6d8bf11b5c738599 (diff) | |
download | marcuscom-ports-0f318b8a182a86b269dc251c36cf1b389943f897.tar marcuscom-ports-0f318b8a182a86b269dc251c36cf1b389943f897.tar.gz marcuscom-ports-0f318b8a182a86b269dc251c36cf1b389943f897.tar.bz2 marcuscom-ports-0f318b8a182a86b269dc251c36cf1b389943f897.tar.lz marcuscom-ports-0f318b8a182a86b269dc251c36cf1b389943f897.tar.xz marcuscom-ports-0f318b8a182a86b269dc251c36cf1b389943f897.tar.zst marcuscom-ports-0f318b8a182a86b269dc251c36cf1b389943f897.zip |
Blindly attempt to fix the recent iPod crash.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2874 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/rhythmbox/files')
-rw-r--r-- | audio/rhythmbox/files/patch-sources_rb-ipod-source.c | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/audio/rhythmbox/files/patch-sources_rb-ipod-source.c b/audio/rhythmbox/files/patch-sources_rb-ipod-source.c index 61fbb19a5..5c2552a88 100644 --- a/audio/rhythmbox/files/patch-sources_rb-ipod-source.c +++ b/audio/rhythmbox/files/patch-sources_rb-ipod-source.c @@ -1,18 +1,11 @@ ---- sources/rb-ipod-source.c.orig Sun Sep 19 17:05:37 2004 -+++ sources/rb-ipod-source.c Sun Sep 19 17:05:49 2004 -@@ -234,6 +234,7 @@ - } - - /* Set disc number */ -+ /* - if (song->cd_nr != 0) { +--- sources/rb-ipod-source.c.orig Thu Sep 16 18:03:09 2004 ++++ sources/rb-ipod-source.c Sun Sep 19 20:00:17 2004 +@@ -238,7 +238,7 @@ GValue value = {0, }; g_value_init (&value, G_TYPE_ULONG); -@@ -243,6 +244,7 @@ + g_value_set_ulong (&value, song->cd_nr); +- rhythmdb_entry_set (RHYTHMDB (db), entry, ++ entry_set_locked (RHYTHMDB (ctxt->db), entry, + RHYTHMDB_PROP_DISC_NUMBER, &value); g_value_unset (&value); - } -+ */ - - /* Set bitrate */ - if (song->bitrate != 0) { |