diff options
author | waker <wakeroid@gmail.com> | 2011-04-14 21:24:23 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-04-14 21:24:23 +0200 |
commit | 665c42a1675dc450b56052ee664b01ee650f8658 (patch) | |
tree | c82c8c6544c000ef01f13993a3bed9460640fb00 /plugins/gtkui/search.c | |
parent | 4e3bdbb0bc8649208400b9eb63751db15bc9bcda (diff) |
more unification work on event system
Diffstat (limited to 'plugins/gtkui/search.c')
-rw-r--r-- | plugins/gtkui/search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/search.c b/plugins/gtkui/search.c index 9baf18f3..6f5bf544 100644 --- a/plugins/gtkui/search.c +++ b/plugins/gtkui/search.c @@ -159,7 +159,7 @@ on_searchwin_key_press_event (GtkWidget *widget, int row = deadbeef->pl_get_cursor (PL_SEARCH); DB_playItem_t *it = deadbeef->pl_get_for_idx_and_iter (max (row, 0), PL_SEARCH); if (it) { - deadbeef->sendmessage (M_PLAY_NUM, 0, deadbeef->pl_get_idx_of (it), 0); + deadbeef->sendmessage (DB_EV_PLAY_NUM, 0, deadbeef->pl_get_idx_of (it), 0); deadbeef->pl_item_unref (it); } } @@ -310,7 +310,7 @@ void search_col_free_user_data (void *data) { } void search_handle_doubleclick (DdbListview *listview, DdbListviewIter iter, int idx) { - deadbeef->sendmessage (M_PLAY_NUM, 0, deadbeef->pl_get_idx_of ((DB_playItem_t *)iter), 0); + 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) { |