use get_allocation()

This commit is contained in:
Yann Leboulanger 2013-01-20 22:37:15 +01:00
parent 74b56cf3f2
commit e50c7e606f
1 changed files with 1 additions and 1 deletions

View File

@ -4490,7 +4490,7 @@ class RosterWindow:
(when a Gtk.Paned widget handle is dragged)
"""
if gparamspec and gparamspec.name == 'position':
roster_width = pane.get_child1().allocation.width
roster_width = pane.get_child1().get_allocation().width
gajim.config.set('roster_width', roster_width)
################################################################################