diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-05 21:03:58 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-05 21:03:58 +0100 |
commit | b9456513b0d6d5f7e9faddb667cd1bede5ad7de6 (patch) | |
tree | ec4fd810d7b821bbd9a97fa7251629f2884d63c3 /plugins/gtkui/actionhandlers.c | |
parent | c73999534098d4a660b6b0863eeec565edea22f8 (diff) |
ported stuff to new file add API
Diffstat (limited to 'plugins/gtkui/actionhandlers.c')
-rw-r--r-- | plugins/gtkui/actionhandlers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gtkui/actionhandlers.c b/plugins/gtkui/actionhandlers.c index b60617bf..879f8f09 100644 --- a/plugins/gtkui/actionhandlers.c +++ b/plugins/gtkui/actionhandlers.c @@ -400,9 +400,9 @@ action_add_location_handler_cb (void *user_data) { const char *text = gtk_entry_get_text (entry); if (text) { ddb_playlist_t *plt = deadbeef->plt_get_curr (); - if (!deadbeef->pl_add_files_begin (plt)) { - deadbeef->plt_add_file (plt, text, NULL, NULL); - deadbeef->pl_add_files_end (); + if (!deadbeef->plt_add_files_begin (plt, 0)) { + deadbeef->plt_add_file2 (0, plt, text, NULL, NULL); + deadbeef->plt_add_files_end (plt, 0); playlist_refresh (); } if (plt) { |