summaryrefslogtreecommitdiff
path: root/plugins/gtkui/search.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2013-08-11 22:42:00 +0200
committerGravatar waker <wakeroid@gmail.com>2013-08-11 22:42:00 +0200
commit83203d9c07810479a8be1c2d69ac90356de9458f (patch)
treeba43c6b114b24456b09cb7865bdbd8ae8ba1b02a /plugins/gtkui/search.c
parent0e8455b9a41602485909e5178e3ab352514f8a3e (diff)
gtkui: handle selection changes in all playlist widgets
Diffstat (limited to 'plugins/gtkui/search.c')
-rw-r--r--plugins/gtkui/search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/search.c b/plugins/gtkui/search.c
index e5afd8f2..d79060ee 100644
--- a/plugins/gtkui/search.c
+++ b/plugins/gtkui/search.c
@@ -341,8 +341,8 @@ void search_handle_doubleclick (DdbListview *listview, DdbListviewIter iter, int
deadbeef->sendmessage (DB_EV_PLAY_NUM, 0, deadbeef->pl_get_idx_of ((DB_playItem_t *)iter), 0);
}
-void search_selection_changed (DdbListviewIter it, int idx) {
- deadbeef->sendmessage (DB_EV_SELCHANGED, 0, 0, 0);
+void search_selection_changed (DdbListview *ps, DdbListviewIter it, int idx) {
+ deadbeef->sendmessage (DB_EV_SELCHANGED, (uintptr_t)ps, -1, -1);
}
void