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



commit 6af28bc84658c3dbb2982dc7aaf3fbf9f753f8c1
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Mar 6 08:04:35 2016 +1000

    diffgrid: Chain up in size-allocate to avoid warning messages
    
    See bgo#762754 for some context; this is now the required behaviour.

 meld/diffgrid.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meld/diffgrid.py b/meld/diffgrid.py
index eef687e..ae0463e 100644
--- a/meld/diffgrid.py
+++ b/meld/diffgrid.py
@@ -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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]