diff options
author | waker <wakeroid@gmail.com> | 2011-04-05 21:13:29 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-04-05 21:13:29 +0200 |
commit | 0a1bcd20307d1f3e725f0dd122ceef40b3e207c3 (patch) | |
tree | a5de7f24dd38d1bdf317dbd4ced70f6aac8e810f /plugins/gtkui/ddblistview.c | |
parent | ddbcf53190dea01c904b0aaeae015505f4230dbd (diff) |
fixed gui crash after deleting playlist
Diffstat (limited to 'plugins/gtkui/ddblistview.c')
-rw-r--r-- | plugins/gtkui/ddblistview.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gtkui/ddblistview.c b/plugins/gtkui/ddblistview.c index bfa394a3..479c03c8 100644 --- a/plugins/gtkui/ddblistview.c +++ b/plugins/gtkui/ddblistview.c @@ -1078,7 +1078,7 @@ ddb_listview_list_setup_vscroll (DdbListview *ps) { if (ps->fullheight <= ps->list->allocation.height) { gtk_widget_hide (scroll); ps->scrollpos = 0; - gtk_widget_queue_draw_area (ps->list, 0, 0, list->allocation.width, list->allocation.height); + gtk_widget_queue_draw (ps->list); } else { gtk_widget_show (scroll); @@ -2272,7 +2272,7 @@ ddb_listview_header_motion_notify_event (GtkWidget *widget, // colhdr_anim_swap (ps, c1, c2, x1, x2); // force redraw of everything // ddb_listview_list_setup_hscroll (ps); - gtk_widget_queue_draw_area (ps->list, 0, 0, ps->list->allocation.width, ps->list->allocation.height); + gtk_widget_queue_draw (ps->list); } else { // only redraw that if not animating @@ -2301,7 +2301,7 @@ ddb_listview_header_motion_notify_event (GtkWidget *widget, ddb_listview_list_setup_hscroll (ps); ps->block_redraw_on_scroll = 0; gtk_widget_queue_draw (ps->header); - gtk_widget_queue_draw_area (ps->list, 0, 0, ps->list->allocation.width, ps->list->allocation.height); + gtk_widget_queue_draw (ps->list); ps->binding->column_size_changed (ps, ps->header_sizing); } else { |