Commit 03cf19e8 authored by Committed by Benjamin Otte
Create cairo context after running validate_visible_area()
validate_visible_area() can change the vertical adjustment and thus trigger window moves/scrolls. This seems to change the surface for which gtk_tree_view_bin_expose() just created a cairo context. Creating the cairo context after the call to validate_visible_area() fixes such crashes.
Showing with 2 additions and 2 deletions