Fix the Handle Rsvg get_width() -> props.width, get_height() -> props.height

Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
This commit is contained in:
Manuel Quiñones 2012-08-27 08:42:53 -03:00
parent be14c34d35
commit cd590b552b

View File

@ -166,8 +166,8 @@ class _IconBuffer(object):
if badge_file_name.endswith('.svg'):
handle = self._loader.load(badge_file_name, {}, self.cache)
icon_width = handle.get_width()
icon_height = handle.get_height()
icon_width = handle.props.width
icon_height = handle.props.height
pixbuf = handle.get_pixbuf()
else: