summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-05-10 21:58:38 +0200
committerGravatar waker <wakeroid@gmail.com>2011-05-10 21:58:38 +0200
commit32a2a4cea0d9397d7cd618c8ce835aac980fe359 (patch)
treea1e6c99690debfceda859945f116510d34154da2 /plugins
parent9d529eb05995069583ffa3e07670c0ea23b42b15 (diff)
added remaining plt_* replacements; minor fixups
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtkui/mainplaylist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gtkui/mainplaylist.c b/plugins/gtkui/mainplaylist.c
index f3cbde3d..12ec24cf 100644
--- a/plugins/gtkui/mainplaylist.c
+++ b/plugins/gtkui/mainplaylist.c
@@ -107,14 +107,14 @@ int main_get_idx (DdbListviewIter it) {
}
void
-main_drag_n_drop (DdbListviewIter before, ddb_playlist_t *from_playlist, uint32_t *indices, int length, int copy) {
+main_drag_n_drop (DdbListviewIter before, DdbPlaylistHandle from_playlist, uint32_t *indices, int length, int copy) {
deadbeef->pl_lock ();
ddb_playlist_t *plt = deadbeef->plt_get_curr ();
if (copy) {
- deadbeef->plt_copy_items (plt, PL_MAIN, from_playlist, (DB_playItem_t *)before, indices, length);
+ deadbeef->plt_copy_items (plt, PL_MAIN, (ddb_playlist_t *)from_playlist, (DB_playItem_t *)before, indices, length);
}
else {
- deadbeef->plt_move_items (plt, PL_MAIN, from_playlist, (DB_playItem_t *)before, indices, length);
+ deadbeef->plt_move_items (plt, PL_MAIN, (ddb_playlist_t *)from_playlist, (DB_playItem_t *)before, indices, length);
}
deadbeef->plt_unref (plt);
deadbeef->pl_unlock ();