diff options
author | 2010-02-13 22:19:13 +0100 | |
---|---|---|
committer | 2010-02-13 22:19:13 +0100 | |
commit | a2155c92f7cdd28c03871da9a13183d636d72984 (patch) | |
tree | 2620e91cf33b6693783d8466665178e312dd3567 /plugins/gtkui/fileman.c | |
parent | b6f3c98316435c0e6243d44a92be8d2004b8c23f (diff) |
major refactoring of gtk playlist WIP
Diffstat (limited to 'plugins/gtkui/fileman.c')
-rw-r--r-- | plugins/gtkui/fileman.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/gtkui/fileman.c b/plugins/gtkui/fileman.c index ecda32ae..1e1e4bd7 100644 --- a/plugins/gtkui/fileman.c +++ b/plugins/gtkui/fileman.c @@ -7,7 +7,7 @@ static void add_dirs_worker (void *data) { GSList *lst = (GSList *)data; - gtkpl_add_dirs (&main_playlist, lst); + gtkpl_add_dirs (lst); } void @@ -18,7 +18,7 @@ gtkui_add_dirs (GSList *lst) { static void add_files_worker (void *data) { GSList *lst = (GSList *)data; - gtkpl_add_files (&main_playlist, lst); + gtkpl_add_files (lst); } void @@ -29,7 +29,7 @@ gtkui_add_files (struct _GSList *lst) { static void open_files_worker (void *data) { GSList *lst = (GSList *)data; - gtkpl_add_files (&main_playlist, lst); + gtkpl_add_files (lst); gtkpl_set_cursor (PL_MAIN, 0); deadbeef->sendmessage (M_PLAYSONG, 0, 0, 0); } @@ -49,7 +49,7 @@ struct fmdrop_data { static void fmdrop_worker (void *ctx) { struct fmdrop_data *data = (struct fmdrop_data *)ctx; - gtkpl_add_fm_dropped_files (&main_playlist, data->mem, data->length, data->drop_y); + gtkpl_add_fm_dropped_files (data->mem, data->length, data->drop_y); free (data); } |