diff options
author | 2011-05-08 13:33:49 +0200 | |
---|---|---|
committer | 2011-05-08 13:33:49 +0200 | |
commit | b5ffaa4ae71ce0520d55b99e0501b92c031e860e (patch) | |
tree | a293831dc6d499d990f4b6e53bd565c78eb309ea /plugins/gtkui/mainplaylist.c | |
parent | 7457aee0d6c832d9cc979bedd281b4bac5694554 (diff) |
converter pl_sort into plt_sort
Diffstat (limited to 'plugins/gtkui/mainplaylist.c')
-rw-r--r-- | plugins/gtkui/mainplaylist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gtkui/mainplaylist.c b/plugins/gtkui/mainplaylist.c index be4c3353..1611f03d 100644 --- a/plugins/gtkui/mainplaylist.c +++ b/plugins/gtkui/mainplaylist.c @@ -140,7 +140,9 @@ playlist_tooltip_handler (GtkWidget *widget, gint x, gint y, gboolean keyboard_m void main_col_sort (int col, int sort_order, void *user_data) { col_info_t *c = (col_info_t*)user_data; - deadbeef->pl_sort (PL_MAIN, c->id, c->format, sort_order-1); + ddb_playlist_t *plt = deadbeef->plt_get_curr (); + deadbeef->plt_sort (plt, PL_MAIN, c->id, c->format, sort_order-1); + deadbeef->plt_unref (plt); } void main_handle_doubleclick (DdbListview *listview, DdbListviewIter iter, int idx) { deadbeef->sendmessage (DB_EV_PLAY_NUM, 0, idx, 0); |