diff options
author | Raul Gutierrez Segales <rgs@collabora.co.uk> | 2011-09-11 13:18:23 (GMT) |
---|---|---|
committer | Raul Gutierrez Segales <rgs@collabora.co.uk> | 2011-09-11 13:18:23 (GMT) |
commit | 26b347c4a37d076e087e74039d5aeb6176f34be4 (patch) | |
tree | 43afe3cb01b8a43865d6becec03de6497af556f6 | |
parent | 180c22525559f250a82b1a821646f6b4318c7b81 (diff) |
bye bye get_render_size ()
-rw-r--r-- | src/sugar/graphics/icon.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/sugar/graphics/icon.py b/src/sugar/graphics/icon.py index 01209f7..406762a 100644 --- a/src/sugar/graphics/icon.py +++ b/src/sugar/graphics/icon.py @@ -388,17 +388,6 @@ class Icon(gtk.Image): else: requisition[0] = requisition[1] = 0 - def get_render_size(self): - """ - Get the dimensions that the icon is rendered at. - """ - self._sync_image_properties() - surface = self._buffer.get_surface() - if surface: - return surface.get_width(), surface.get_height() - else: - return None - def do_expose_event(self, event): """ Parameters |