CVSROOT: /cvs/gnome
Module name: rhythmbox
Changes by: mccann 05/12/09 10:54:50
Modified files:
. : ChangeLog
rhythmdb : rhythmdb.c rhythmdb.h
shell : rb-playlist-manager.c rb-playlist-manager.h
rb-shell.c
Log message:
2005-12-09 William Jon McCann <[EMAIL PROTECTED]>
* shell/rb-shell.c (idle_save_playlist_manager): Use new
async save function.
(rb_shell_finalize): Remove save timeout sources. Reorder
steps a bit to make saving db and playlists a bit more
failsafe in case something goes wrong later.
(rb_shell_constructor): Keep track of save timeout source.
(add_to_library_response_cb): Keep track of db save timeout source.
* shell/rb-playlist-manager.c (reap_dead_playlist_threads): Use
g_atomic.
(rb_playlist_manager_shutdown): New function to shutdown
threads etc. before exit.
(rb_playlist_manager_finalize): Moved handling outstanding
threads stuff to shutdown since if there are outstanding threads
they hold a ref and finalize is never called.
(rb_playlist_manager_save_thread_main): Use cond broadcast instead
of signal which may be required for sync save.
(rb_playlist_manager_save_playlists_async): Renamed old
save_playlists to save_playlists_async. Use g_atomic.
(rb_playlist_manager_save_playlists): New function to
perform sync saves (symmetric with RhythmDB API).
(rb_playlist_manager_cmd_new_automatic_playlist): Style consistency.
* rhythmdb/rhythmdb.c (rhythmdb_action_free, rhythmdb_shutdown):
Style consistency anality.
(rhythmdb_finalize): Remove save timeout source.
(rhythmdb_set_property, rhythmdb_get_property)
(rhythmdb_process_events): More anality and keep track of
save timeout source.
(action_thread_main): No need to call g_thread_exit.
(rhythmdb_entry_set_internal, rhythmdb_entry_sync_mirrored)
(rhythmdb_query_parse_valist, rhythmdb_query_free)
(write_encoded_gvalue, read_encoded_property): La la la.
Fixes #322940.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=rhythmbox&who=mccann&date=explicit&mindate=2005-12-09%2010:53&maxdate=2005-12-09%2010:55
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list