summaryrefslogtreecommitdiff
path: root/plugins/gtkui/plcommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtkui/plcommon.c')
-rw-r--r--plugins/gtkui/plcommon.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/gtkui/plcommon.c b/plugins/gtkui/plcommon.c
index 8fbd8dc7..ad758007 100644
--- a/plugins/gtkui/plcommon.c
+++ b/plugins/gtkui/plcommon.c
@@ -328,7 +328,6 @@ on_remove_from_disk_activate (GtkMenuItem *menuitem,
}
deadbeef->pl_lock ();
- deadbeef->plt_lock ();
DB_playItem_t *it = deadbeef->pl_get_first (PL_MAIN);
while (it) {
@@ -341,7 +340,6 @@ on_remove_from_disk_activate (GtkMenuItem *menuitem,
}
int cursor = deadbeef->pl_delete_selected ();
- deadbeef->plt_unlock ();
deadbeef->pl_unlock ();
main_refresh ();