diff options
author | 2010-05-16 19:53:30 +0200 | |
---|---|---|
committer | 2010-05-16 19:53:30 +0200 | |
commit | 60e1aac8f7fa87db623559d499f9067b069db826 (patch) | |
tree | a4f1a04bf564eca347b5201b79e091745022face /plugins/gtkui/ddblistview.c | |
parent | 3a0a13456fb328e4cc80198186a4efb7fff17ba6 (diff) |
claim fix to bug #2999385: random crash in playlist redraw after using "Open file(s)"
Diffstat (limited to 'plugins/gtkui/ddblistview.c')
-rw-r--r-- | plugins/gtkui/ddblistview.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gtkui/ddblistview.c b/plugins/gtkui/ddblistview.c index df349159..c9f4c6da 100644 --- a/plugins/gtkui/ddblistview.c +++ b/plugins/gtkui/ddblistview.c @@ -613,6 +613,7 @@ ddb_listview_list_render (DdbListview *listview, int x, int y, int w, int h) { } int idx = 0; int abs_idx = 0; + deadbeef->pl_lock (); // find 1st group DdbListviewGroup *grp = listview->groups; int grp_y = 0; @@ -690,6 +691,7 @@ ddb_listview_list_render (DdbListview *listview, int x, int y, int w, int h) { g_object_unref (gc); } } + deadbeef->pl_unlock (); draw_end (); } |