Commit 68a7f0ee authored by Kai Willadsen's avatar Kai Willadsen

linkmap: Fix for 3.20, where GtkDrawingArea doesn't draw the background

According to bug #761341, this is the expected fix.
parent 4e17a7d3
......@@ -64,6 +64,10 @@ class LinkMap(Gtk.DrawingArea):
context.rectangle(0, clip_y, allocation.width, clip_height)
stylecontext = self.get_style_context()
stylecontext, context, 0, clip_y, allocation.width, clip_height)
height = allocation.height
visible = [self.views[0].get_line_num_for_y(pix_start[0]),
self.views[0].get_line_num_for_y(pix_start[0] + height),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment