Commit 6af28bc8 authored by Kai Willadsen's avatar Kai Willadsen

diffgrid: Chain up in size-allocate to avoid warning messages

See bgo#762754 for some context; this is now the required behaviour.
parent 30a3bd2d
......@@ -144,6 +144,7 @@ class DiffGrid(Gtk.Grid):
return int(round(pos1)), int(round(pos2))
def do_size_allocate(self, allocation):
Gtk.Grid.do_size_allocate(self, allocation)
self.set_allocation(allocation)
wcols, hrows = self._get_min_sizes()
yrows = [allocation.y,
......
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