diff options
author | 2011-04-13 21:03:52 +0200 | |
---|---|---|
committer | 2011-04-13 21:15:54 +0200 | |
commit | a0116d4496107e368b791d86295834c6e844a6e8 (patch) | |
tree | 0294bd3a66ea21a634190016bb6065c9c6f86b33 /plugins/gtkui/fileman.c | |
parent | 8d6dab0928866350d981793cd9207d0fb284fb4d (diff) |
got rid of plt_lock and global_lock in favor of just using pl_lock for all playlist access;
added playlist modification time functions for tracking playlist changes;
fixed gtkui playlist group rebuilding
Diffstat (limited to 'plugins/gtkui/fileman.c')
-rw-r--r-- | plugins/gtkui/fileman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/fileman.c b/plugins/gtkui/fileman.c index d33764c0..3b5db560 100644 --- a/plugins/gtkui/fileman.c +++ b/plugins/gtkui/fileman.c @@ -22,7 +22,7 @@ gtkpl_adddir_cb (gpointer data, gpointer userdata) { void gtkpl_add_dirs (GSList *lst) { - deadbeef->plt_lock (); + deadbeef->pl_lock (); deadbeef->pl_add_files_begin (deadbeef->plt_get_curr ()); if (g_slist_length (lst) == 1 && deadbeef->conf_get_int ("gtkui.name_playlist_from_folder", 0)) { @@ -42,7 +42,7 @@ gtkpl_add_dirs (GSList *lst) { } } } - deadbeef->plt_unlock (); + deadbeef->pl_unlock (); g_slist_foreach(lst, gtkpl_adddir_cb, NULL); g_slist_free (lst); deadbeef->pl_add_files_end (); |