From cd590b552bfd07703eae3e22e3765c4897ca8218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= Date: Mon, 27 Aug 2012 08:42:53 -0300 Subject: [PATCH] Fix the Handle Rsvg get_width() -> props.width, get_height() -> props.height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel QuiƱones Acked-by: Simon Schampijer --- src/sugar3/graphics/icon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sugar3/graphics/icon.py b/src/sugar3/graphics/icon.py index 1bea1363..c10273e1 100644 --- a/src/sugar3/graphics/icon.py +++ b/src/sugar3/graphics/icon.py @@ -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: