rhythmbox r4894 - in branches/RHYTHMBOX-0_10: . lib rhythmdb



Author: jrl
Date: 2007-03-03 04:40:58 +0000 (Sat, 03 Mar 2007)
New Revision: 4894
ViewCVS link: http://svn.gnome.org/viewcvs/rhythmbox?rev=4894&view=rev

Modified:
   branches/RHYTHMBOX-0_10/ChangeLog
   branches/RHYTHMBOX-0_10/lib/rb-util.c
   branches/RHYTHMBOX-0_10/lib/rb-util.h
   branches/RHYTHMBOX-0_10/rhythmdb/rhythmdb-tree.c
Log:
2007-03-03  James Livingston  <doclivingston gmail com>

	* lib/rb-util.c: (rb_assert_locked), (rb_threads_init),
	(rb_str_in_strv):
	* lib/rb-util.h: add util function which asserts that a lock is being
	held (only works on systems where GMutex isn't recursive)

	* rhythmdb/rhythmdb-tree.c: (unparent_entries),
	(rhythmdb_tree_finalize), (set_entry_album),
	(rhythmdb_tree_entry_new_internal), (get_or_create_genre),
	(get_or_create_artist), (get_or_create_album),
	(remove_entry_from_album), (rhythmdb_tree_entry_set),
	(rhythmdb_tree_entry_delete), (remove_one_song),
	(rhythmdb_tree_entry_delete_by_type): take the tree lock in other
	paths, and use the above function to ensure the lock is being held.
	Fixes #393642 and probably others





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